aboutsummaryrefslogtreecommitdiff
path: root/views/questions.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'views/questions.hbs')
-rw-r--r--views/questions.hbs25
1 files changed, 8 insertions, 17 deletions
diff --git a/views/questions.hbs b/views/questions.hbs
index 3a73b3f..ac94f8b 100644
--- a/views/questions.hbs
+++ b/views/questions.hbs
@@ -28,25 +28,16 @@
<p><em>Uploaded by:</em> {{examInfo.uploader}}</p>
<p><em>Page count:</em> {{examInfo.pageCount}}</p>
<p><em>Question count:</em> {{examInfo.questionCount}}</p>
- </section>
- </div>
-
-
- <div class="row">
- <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
- col-lg-offset-2 rounded" id="add-solution" type="submit">
- <h3>Follow Exam</h3>
- </button>
+ <form action="/user/follow_exam/{{examInfo.id}}" method = 'post'>
+ <input type="hidden" name="_csrf" value="{{ csrfToken }}">
+ <button class="btn btn-primary" id="add-solution" type="submit">
+ <h3>Follow Exam</h3>
+ </button>
- </form>
+ </form>
+ </section>
</div>
-
-
-
-
+
<!-- QUESTION LISTINGS -->
{{#each query}}
<a href="/solutions/{{../examInfo.id}}/{{this.q_id}}">