summaryrefslogtreecommitdiff
path: root/papillon/templates/category.html
blob: 55aa08411326ef964c03e1c7597fcdf67e4dee50 (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='{{root_url}}poll/{{poll.base_url}}'>{{poll.name}}</a></p>
 <p>{{poll.description|safe}}</p>
</div>
{% endfor %}

{% endblock %}