summaryrefslogtreecommitdiff
path: root/templates/category.html
diff options
context:
space:
mode:
authoretienne2008-12-05 00:17:02 +0000
committeretienne2008-12-05 00:17:02 +0000
commite14d2f0f7d9d985d61ede02813abf04dff8e35ff (patch)
treeff70dd05fc08af22b93beddc86110a12bdd3c9bd /templates/category.html
parentaedea8f1939ae9f894670b461abea9bea1be092e (diff)
Public votes - Polls categories (2)
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 %}