diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-27 03:01:02 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-27 03:01:02 +0000 |
| commit | 7a1479aaa052977201b3ed50db11e2855b5bdb2b (patch) | |
| tree | 79161cf668f02b62be72d84b1471bc6bad7becd7 | |
| parent | 37cb19a226c255ed0af09e04931e4bae47afad8b (diff) | |
fixed follow exam positining
| -rw-r--r-- | views/questions.hbs | 25 |
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}}"> |
