]> git.parisson.com Git - django_quiz.git/commitdiff
forgot to add a template file
authorTom Walker <tomwalker0472@gmail.com>
Sat, 6 Apr 2013 16:42:17 +0000 (17:42 +0100)
committerTom Walker <tomwalker0472@gmail.com>
Sat, 6 Apr 2013 16:42:17 +0000 (17:42 +0100)
templates/quiz/answers_for_question.html [new file with mode: 0644]

diff --git a/templates/quiz/answers_for_question.html b/templates/quiz/answers_for_question.html
new file mode 100644 (file)
index 0000000..527d72f
--- /dev/null
@@ -0,0 +1,21 @@
+<form action="/{{ quiz.url }}/take/" method="get">
+
+       
+<table class="table table-hover table-bordered" id="answerchoice">
+<tbody>
+
+
+{% for answer in answers %}
+       <tr>
+               <td>
+                       <label>
+                               <input type="radio" name="guess" value="{{ answer.id }}" class="form-radio">
+                               {{ answer.content }}
+                       </label>
+               </td>
+    </tr>
+{% endfor %}
+</form>
+</tbody>
+</table>
+<input type="submit" value="Check" class="btn btn-large btn-block btn-warning" >