diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2010-03-27 17:06:03 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2010-03-27 17:06:03 +0000 |
| commit | 95729368a48257b110ea33dfb005785f8ed6734f (patch) | |
| tree | 8b99b375a4b4a2e121a9192910af15485ea2b7c3 /templates/editChoicesAdmin.html | |
| parent | 8ded76ae513b38d14773449e46543b54cf48ef49 (diff) | |
| download | Papillon-95729368a48257b110ea33dfb005785f8ed6734f.tar.bz2 Papillon-95729368a48257b110ea33dfb005785f8ed6734f.zip | |
Rearrange directories - include documentation
Diffstat (limited to 'templates/editChoicesAdmin.html')
| -rw-r--r-- | templates/editChoicesAdmin.html | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/templates/editChoicesAdmin.html b/templates/editChoicesAdmin.html deleted file mode 100644 index a7798bf..0000000 --- a/templates/editChoicesAdmin.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends "base.html" %} -{% load markup %} -{% load i18n %} - -{% block fullscript %} -<script type="text/javascript" src="{{root_url}}admin/jsi18n/"></script> -<script type="text/javascript" src="{{root_url}}media/js/core.js"></script> -<script type="text/javascript" src="{{root_url}}media/js/admin/RelatedObjectLookups.js"></script> -{{ form_new_choice.media }} -{% endblock %} - -{% block content %} -{% if not choices %}<p class='error'> -{% blocktrans %}As long as no options were added to the poll, it will not be available.{% endblocktrans %} -</p>{% else %} -<h2>{% trans "Complete/Finalise the poll" %}</h2> -<p><a href='{{root_url}}edit/{{poll.admin_url}}'><button>{% trans "Next"%}</button></p> -{% endif %} -{% include 'editChoices.html' %} -{% if choices %} -<h2>{% trans "Available choices" %}</h2> -<table class='new_poll'> - <tr> - {%if not poll.dated_choices%}<th>{% trans "Up/down" %}</th>{%endif%} - <th>{% trans "Label" %}</th> - <th>{% trans "Limit" %}</th> - <th>{% trans "Delete?"%}</th> - </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> - <td>{% trans "Limited to"%} {{choice.form.limit}} {% trans "vote(s)" %}</td> - <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> - </form>{% endfor %} -</table> -{% endif %} - -{% endblock %} |
