summaryrefslogtreecommitdiff
path: root/papillon/templates/category.html
blob: f38743a949560b4a3b8ad848db069644d5c8750e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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='{% url poll poll.base_url%}'>{{poll.name}}</a></p>
 <p>{{poll.description|safe}}</p>
</div>
{% endfor %}

{% endblock %}