summaryrefslogtreecommitdiff
path: root/papillon/templates/editChoices.html
blob: 7e059a8876132ef0928344294586edb73fffe481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>