diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2009-12-04 22:58:19 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2009-12-04 22:58:19 +0000 |
| commit | 6cab9442e9ada9c15879998d287bb549e2037238 (patch) | |
| tree | 1cef34f4e5d752713f1ea215f49f1557768b8ff3 /templates/editChoicesUser.html | |
| parent | 442d34494354cbca1cad022290db417ae7a7aede (diff) | |
| download | Papillon-6cab9442e9ada9c15879998d287bb549e2037238.tar.bz2 Papillon-6cab9442e9ada9c15879998d287bb549e2037238.zip | |
Template cleaning - Vote page upgrade with new fonctionnality
Diffstat (limited to 'templates/editChoicesUser.html')
| -rw-r--r-- | templates/editChoicesUser.html | 10 |
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 %} |
