From 061ddcd33f2fce2af2b5e4e641e5c3da966c265e Mon Sep 17 00:00:00 2001 From: Adrien Dorsaz Date: Fri, 9 Aug 2013 00:26:55 +0200 Subject: Update code to new design and indent it (editChoices). --- papillon/templates/editChoices.html | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/papillon/templates/editChoices.html b/papillon/templates/editChoices.html index 293f567..84b2d45 100644 --- a/papillon/templates/editChoices.html +++ b/papillon/templates/editChoices.html @@ -1,20 +1,19 @@ {% load markup %} {% load i18n %} -

{% trans "New choice" %}

{%if form_new_choice.errors %}

{{form_new_choice.errors}}

{%endif%} -
+ {% csrf_token %} -{{form_new_choice.poll}} -{{form_new_choice.order}} - - - - - - - - - -

{% trans "Setting a new choice. Optionally you can set a limit of vote for this choice. This limit is usefull for limited resources allocation." %}

{{form_new_choice.name}}{%trans "Limited to"%} {{form_new_choice.limit}} {%trans "vote(s)"%}
+
+ {% trans "Add new choice" %} ? +
+ {{form_new_choice.poll}} + {{form_new_choice.order}} + + {%trans "Choice name:"%}
+ {{form_new_choice.name}} + {%trans "Max number of votes (optional):"%}
+ {{form_new_choice.limit}}
+ +
-- cgit v1.2.3