aboutsummaryrefslogtreecommitdiffstats
path: root/templates/issues/question.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-11-27 13:35:55 +0200
committerFilipp Lepalaan <f@230.to>2013-11-27 13:35:55 +0200
commit1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d (patch)
tree715bb49e2521b2ed9ebbaf5585ef43c7848e41da /templates/issues/question.html
parent8782fbe4766dc57e517eec622879d672d6d68378 (diff)
downloadmotor.old-1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d.tar.gz
motor.old-1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d.tar.bz2
motor.old-1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d.zip
A bunch of fixes
Diffstat (limited to 'templates/issues/question.html')
-rw-r--r--templates/issues/question.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/issues/question.html b/templates/issues/question.html
new file mode 100644
index 0000000..8da6e10
--- /dev/null
+++ b/templates/issues/question.html
@@ -0,0 +1,12 @@
+{% extends "issues/index.html" %}
+{% load i18n %}
+
+{% block main %}
+<div style="text-align:center">
+ <h1>{{ question.question }}</h1>
+ <p>{{ question.description|default:"" }}</p>
+ {% for i in question.choice_set.all %}
+ <a class="btn btn-default" href="{% url 'issues-index' i.pk %}">{{ i.choice }}</a>
+ {% endfor %}
+</div>
+{% endblock main %}