From aedea8f1939ae9f894670b461abea9bea1be092e Mon Sep 17 00:00:00 2001 From: etienne Date: Fri, 5 Dec 2008 00:16:29 +0000 Subject: Public votes - Polls categories --- templates/main.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'templates/main.html') diff --git a/templates/main.html b/templates/main.html index 05c8b95..59adba7 100644 --- a/templates/main.html +++ b/templates/main.html @@ -3,7 +3,17 @@ {% block content %} {% if error %}

{{error}}

{%endif%} -

{% trans "Create a poll" %}

+

{%trans "Create a poll"%}

{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %}

+{% if polls %}

{%trans "Polls"%}

{%endif%} +{% for poll in polls %} +

{{poll.name}} {{poll.description}}

+{% endfor %} + +{% if categories %}

{%trans "Categories"%}

{% endif %} +{% for category in categories %} +

{{category.name}}

+{% endfor %} + {% endblock %} -- cgit v1.2.3