summaryrefslogtreecommitdiff
path: root/templates/editChoicesAdmin.html
diff options
context:
space:
mode:
authoretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2009-12-04 22:58:19 +0000
committeretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2009-12-04 22:58:19 +0000
commit6cab9442e9ada9c15879998d287bb549e2037238 (patch)
tree1cef34f4e5d752713f1ea215f49f1557768b8ff3 /templates/editChoicesAdmin.html
parent442d34494354cbca1cad022290db417ae7a7aede (diff)
downloadPapillon-6cab9442e9ada9c15879998d287bb549e2037238.tar.bz2
Papillon-6cab9442e9ada9c15879998d287bb549e2037238.zip
Template cleaning - Vote page upgrade with new fonctionnality
Diffstat (limited to 'templates/editChoicesAdmin.html')
-rw-r--r--templates/editChoicesAdmin.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/editChoicesAdmin.html b/templates/editChoicesAdmin.html
index a668319..260d68c 100644
--- a/templates/editChoicesAdmin.html
+++ b/templates/editChoicesAdmin.html
@@ -19,7 +19,6 @@
{% include 'editChoices.html' %}
{% if choices %}
<h2>{% trans "Available choices" %}</h2>
-<form action="" method="post">
<table class='new_poll'>
<tr>
{%if not poll.dated_choices%}<th>{% trans "Up/down" %}</th>{%endif%}
@@ -27,7 +26,9 @@
<th>{% trans "Limit" %}</th>
<th>{% trans "Delete?"%}</th>
</tr>
- {% for choice in choices %}{{choice.form.poll}}{{choice.form.order}}<tr>
+ {% for choice in choices %}
+ <form action="" method="post">
+ {{choice.form.poll}}{{choice.form.order}}<tr>
{%if not poll.dated_choices%}<td><a href='?up_choice={{choice.id}}' class='arrow'>+</a>
/ <a href='?down_choice={{choice.id}}' class='arrow'>-</a></td>{%endif%}
<td>{{choice.form.name}}</td>
@@ -35,8 +36,9 @@
<td><input type='checkbox' name='delete_{{choice.id}}'/></td>
<td><input type='hidden' name='edit' value='{{choice.id}}'/></td>
<td><input type='submit' value='{% trans "Edit" %}' class='submit'/></td>
- </tr>{% endfor %}
+ </tr>
+ </form>{% endfor %}
</table>
-</form>{% endif %}
+{% endif %}
{% endblock %}