summaryrefslogtreecommitdiff
path: root/papillon/templates/editChoices.html
diff options
context:
space:
mode:
authoretienne2010-03-27 17:06:03 +0000
committeretienne2010-03-27 17:06:03 +0000
commit95729368a48257b110ea33dfb005785f8ed6734f (patch)
tree8b99b375a4b4a2e121a9192910af15485ea2b7c3 /papillon/templates/editChoices.html
parent8ded76ae513b38d14773449e46543b54cf48ef49 (diff)
Rearrange directories - include documentation
Diffstat (limited to 'papillon/templates/editChoices.html')
-rw-r--r--papillon/templates/editChoices.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/papillon/templates/editChoices.html b/papillon/templates/editChoices.html
new file mode 100644
index 0000000..1082d30
--- /dev/null
+++ b/papillon/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>