aboutsummaryrefslogtreecommitdiffstats
path: root/templates/issues/question.html
diff options
context:
space:
mode:
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 %}