diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-25 18:43:47 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-25 18:43:47 +0100 |
commit | 1fe6a52803b4d78f57f52cdbe138010cc4c00f80 (patch) | |
tree | 3eb44592abefec9ab8a2ee0981eba4ada17d9a1a /papillon/templates/editChoices.html | |
parent | 3fcdf69304580650c6244165aae0b1fc46221cff (diff) | |
parent | 525fdda2aaae3adc8534ebda777dedddb17ef25f (diff) | |
download | Papillon-1fe6a52803b4d78f57f52cdbe138010cc4c00f80.tar.bz2 Papillon-1fe6a52803b4d78f57f52cdbe138010cc4c00f80.zip |
Merge branch 'responsive' of https://github.com/Trim/papillon into responsive
Conflicts:
papillon/templates/base.html
Diffstat (limited to 'papillon/templates/editChoices.html')
-rw-r--r-- | papillon/templates/editChoices.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/papillon/templates/editChoices.html b/papillon/templates/editChoices.html index 7e059a8..9146e27 100644 --- a/papillon/templates/editChoices.html +++ b/papillon/templates/editChoices.html @@ -1,19 +1,19 @@ {% load markup %} {% load i18n %} -<h2>{% trans "New choice" %}</h2> {%if form_new_choice.errors %} <p class='error'>{{form_new_choice.errors}}</p>{%endif%} -<form action="." method="post"> -{{form_new_choice.poll}} -{{form_new_choice.order}} -<table class='new_poll'> - <tr> - <td class='form_description' colspan='3'><p>{% trans "Setting a new choice. Optionally you can set a limit of vote for this choice. This limit is usefull for limited resources allocation." %}</p></td> - </tr> - <tr> - <td>{{form_new_choice.name}}</td> - <td>{%trans "Limited to"%} {{form_new_choice.limit}} {%trans "vote(s)"%}</td> - <td><input type='hidden' name='add' value='1'/> <input type='submit' value='{% trans "Add" %}' class='submit'/></td> - </tr> -</table> +<form class='new_poll' action="." method="post"> + {% csrf_token %} + <div class="field_label"> + {% trans "Add new choice" %} <span class="help_button" title='{% trans "Setting a new choice. Optionally you can set a limit of vote for this choice. This limit is usefull for limited resources allocation." %}'>?</span> + </div> + {{form_new_choice.poll}} + {{form_new_choice.order}} + + {%trans "Choice value:"%}<br/> + {{form_new_choice.name}} + {%trans "Max number of votes (optional):"%}<br/> + {{form_new_choice.limit}}<br/> + <input type='hidden' name='add' value='1'/> + <input type='submit' value='{% trans "Add" %}' class='submit'/> </form> |