diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2009-12-04 13:33:06 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2009-12-04 13:33:06 +0000 |
| commit | 442d34494354cbca1cad022290db417ae7a7aede (patch) | |
| tree | 84e2371fb94945e7ac456da41ddfeb68e5f1f1e3 /templates/editChoices.html | |
| parent | 25e778bebb1804aeaf0d7716119bcbfbe967e8b2 (diff) | |
| download | Papillon-442d34494354cbca1cad022290db417ae7a7aede.tar.bz2 Papillon-442d34494354cbca1cad022290db417ae7a7aede.zip | |
Template cleaning - Simplification - Use of newforms
Diffstat (limited to 'templates/editChoices.html')
| -rw-r--r-- | templates/editChoices.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/editChoices.html b/templates/editChoices.html new file mode 100644 index 0000000..1082d30 --- /dev/null +++ b/templates/editChoices.html @@ -0,0 +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="{{admin_url}}" 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> |
