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 /papillon/templates/editChoicesUser.html | |
| parent | 8ded76ae513b38d14773449e46543b54cf48ef49 (diff) | |
| download | Papillon-95729368a48257b110ea33dfb005785f8ed6734f.tar.bz2 Papillon-95729368a48257b110ea33dfb005785f8ed6734f.zip | |
Rearrange directories - include documentation
Diffstat (limited to 'papillon/templates/editChoicesUser.html')
| -rw-r--r-- | papillon/templates/editChoicesUser.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/papillon/templates/editChoicesUser.html b/papillon/templates/editChoicesUser.html new file mode 100644 index 0000000..0d2b2c1 --- /dev/null +++ b/papillon/templates/editChoicesUser.html @@ -0,0 +1,27 @@ +{% 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 %} + <p><a href="{{root_url}}poll/{{poll.base_url}}/">{%trans "Return to the poll"%}</a></p> +<h2>{% trans "Choices" %}</h2> +{% if choices %}<table class='new_poll'> + <tr> + <th>{% trans "Label" %}</th> + <th>{% trans "Limit" %}</th> + </tr> + {% for choice in choices %}<tr> + <td>{%if poll.dated_choices%}{{choice.date|date:_("DATETIME_FORMAT")}}{%else%}{{choice.name}}{%endif%}</td> + <td>{% if choice.limit %}{% trans "Limited to"%} {{choice.limit}} {% trans "vote(s)" %}{% endif %}</td> + </tr>{% endfor %} +</table> +{% endif %} +{% include 'editChoices.html' %} +{% endblock %} |
