summaryrefslogtreecommitdiff
path: root/papillon/templates/category.html
diff options
context:
space:
mode:
authoretienne2010-03-27 17:06:03 +0000
committeretienne2010-03-27 17:06:03 +0000
commit95729368a48257b110ea33dfb005785f8ed6734f (patch)
tree8b99b375a4b4a2e121a9192910af15485ea2b7c3 /papillon/templates/category.html
parent8ded76ae513b38d14773449e46543b54cf48ef49 (diff)
Rearrange directories - include documentation
Diffstat (limited to 'papillon/templates/category.html')
-rw-r--r--papillon/templates/category.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/papillon/templates/category.html b/papillon/templates/category.html
new file mode 100644
index 0000000..55aa084
--- /dev/null
+++ b/papillon/templates/category.html
@@ -0,0 +1,16 @@
+{% 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 %}
+<div class='poll-description'>
+ <p><a href='{{root_url}}poll/{{poll.base_url}}'>{{poll.name}}</a></p>
+ <p>{{poll.description|safe}}</p>
+</div>
+{% endfor %}
+
+{% endblock %}