summaryrefslogtreecommitdiff
path: root/templates/editChoicesUser.html
diff options
context:
space:
mode:
authoretienne2009-12-04 22:58:19 +0000
committeretienne2009-12-04 22:58:19 +0000
commit6cab9442e9ada9c15879998d287bb549e2037238 (patch)
tree1cef34f4e5d752713f1ea215f49f1557768b8ff3 /templates/editChoicesUser.html
parent442d34494354cbca1cad022290db417ae7a7aede (diff)
Template cleaning - Vote page upgrade with new fonctionnality
Diffstat (limited to 'templates/editChoicesUser.html')
-rw-r--r--templates/editChoicesUser.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/editChoicesUser.html b/templates/editChoicesUser.html
index bec7384..4313ade 100644
--- a/templates/editChoicesUser.html
+++ b/templates/editChoicesUser.html
@@ -10,6 +10,7 @@
{% endblock %}
{% block content %}
+ <p><a href="http://{{root_url}}poll/{{poll.base_url}}/">{%trans "Return to the poll"%}</a></p>
<h2>{% trans "Choices" %}</h2>
{% if choices %}<table class='new_poll'>
<tr>
@@ -17,15 +18,10 @@
<th>{% trans "Limit" %}</th>
</tr>
{% for choice in choices %}<tr>
- <td>{{choice.name}}</td>
+ <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 %}
- <tr>
- <td></td>
- <td><input type='hidden' name='edit' value='1'/>
- <input type='submit' value='{% trans "Edit" %}' class='submit'/></td>
- </tr>
</table>
-</form>{% endif %}
+{% endif %}
{% include 'editChoices.html' %}
{% endblock %}