From df9b2f33da2f17bd82dbc627ae9b25d295820aed Mon Sep 17 00:00:00 2001 From: Adrien Dorsaz Date: Fri, 9 Aug 2013 00:37:52 +0200 Subject: Indent and update design for editChoiceUser --- papillon/templates/editChoicesUser.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/papillon/templates/editChoicesUser.html b/papillon/templates/editChoicesUser.html index 174c02f..958d05a 100644 --- a/papillon/templates/editChoicesUser.html +++ b/papillon/templates/editChoicesUser.html @@ -12,16 +12,20 @@ {% block content %}

{%trans "Return to the poll"%}

{% trans "Choices" %}

-{% if choices %} - - - - - {% for choice in choices %} - - - {% endfor %} -
{% trans "Label" %}{% trans "Limit" %}
{%if poll.dated_choices%}{{choice.date|date:_("DATETIME_FORMAT")}}{%else%}{{choice.name}}{%endif%}{% if choice.limit %}{% trans "Limited to"%} {{choice.limit}} {% trans "vote(s)" %}{% endif %}
+{% if choices %} +
+
{% trans "Current choices" %}
+ + + + + + {% for choice in choices %} + + + {% endfor %} +
{% trans "Name" %}{% trans "Limit" %}
{%if poll.dated_choices%}{{choice.date|date:_("DATETIME_FORMAT")}}{%else%}{{choice.name}}{%endif%}{% if choice.limit %}{% trans "Limited to"%} {{choice.limit}} {% trans "vote(s)" %}{% endif %}
+
{% endif %} {% include 'editChoices.html' %} {% endblock %} -- cgit v1.2.3