summaryrefslogtreecommitdiff
path: root/templates/category.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/category.html')
-rw-r--r--templates/category.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/category.html b/templates/category.html
new file mode 100644
index 0000000..4a2189c
--- /dev/null
+++ b/templates/category.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block content %}
+<h2>{{category.name}}</h2>
+<p>{{category.description}}</p>
+
+{% if polls %}<h2>{%trans "Polls"%}</h2>{%endif%}
+{% for poll in polls %}
+<p><a href='/papillon/poll/{{poll.base_url}}'>{{poll.name}}</a> {{poll.description}}</p>
+{% endfor %}
+
+{% endblock %}