aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/questions.hbs9
1 files changed, 7 insertions, 2 deletions
diff --git a/views/questions.hbs b/views/questions.hbs
index e5bf21d..1d62a2b 100644
--- a/views/questions.hbs
+++ b/views/questions.hbs
@@ -1,9 +1,14 @@
<main id = 'solutions-main'>
<div class = 'search container' id = 'solutions-div'>
- <!-- EXAM DETAILS -->
+ <!-- EXAM DETAILS -->
+ {{# if messages.error }}
+ <section class="alert alert-danger custom-Alert">
+ <h4>{{ messages.error }}</h4>
+ </section>
+ {{/if}}
- <form action="/user/follow_exam/{{../examInfo.id}}" method = 'post'>
+ <form action="/user/follow_exam/{{examInfo.id}}" method = 'post'>
<input type="hidden" name="_csrf" value="{{ csrfToken }}">
<button class="col-xs-4 col-sm-2 col-md-2 col-lg-2
col-xs-offset-4 col-sm-offset-5 col-md-offset-2