aboutsummaryrefslogtreecommitdiff
path: root/views/questions.hbs
diff options
context:
space:
mode:
authorWaref Haque <warefhaque@inside-239-60.wireless.utoronto.ca>2016-07-27 00:25:57 +0000
committerWaref Haque <warefhaque@inside-239-60.wireless.utoronto.ca>2016-07-27 00:25:57 +0000
commit20220f9c3cf0cf8e1efbe850aba4a99f23d9a0cb (patch)
tree0feee3c28b6b3d08668882f981542f76bc2d74b3 /views/questions.hbs
parent25706820837bd05cdc3b186eb1d5ebabf9688a61 (diff)
follow_exam
Diffstat (limited to 'views/questions.hbs')
-rw-r--r--views/questions.hbs18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/questions.hbs b/views/questions.hbs
index 4b40d33..e5bf21d 100644
--- a/views/questions.hbs
+++ b/views/questions.hbs
@@ -3,6 +3,24 @@
<!-- EXAM DETAILS -->
+ <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>
+
+ <!--<a href="/user/follow_exam/{{../examInfo.id}}">-->
+ <!--<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">-->
+ <!--<h3>Follow Exam</h3>-->
+ <!--</button>-->
+ <!--</a>-->
+
+
<a href="http://www.cs.toronto.edu/~fpitt/CSC148/20131/tests/test1-0101.pdf" target='_blank'><img src="/assets/images/exam.png" class='exam-img img-responsive exam-info'></a>
<section class='exam-info'>