diff options
Diffstat (limited to 'views/user_solutions.hbs')
| -rw-r--r-- | views/user_solutions.hbs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/views/user_solutions.hbs b/views/user_solutions.hbs index db17aa6..fac0301 100644 --- a/views/user_solutions.hbs +++ b/views/user_solutions.hbs @@ -1,13 +1,20 @@ <main id="solutions-main"> <div class='search solutions-container container'> <div> - - {{# if messages.error }} - <section class="alert alert-danger custom-Alert"> - <h5>{{ messages.error }}</h5> + {{# if messages.success }} + <section class="alert alert-success custom-Alert"> + <!-- Change those to banners later --> + <h4>{{ messages.success }}</h4> </section> + {{ else }} + {{# if messages.error }} + <section class="alert alert-danger custom-Alert"> + <h4>{{ messages.error }}</h4> + </section> + {{/if}} {{/if}} + <!-- Add Solution button and path --> <div class="row top-sol"> <a href="/user/add_solution/{{examID}}/{{qID}}"> |
