From ed2ab8aec512c1dfd6e5f940d7a9e6f73a3964e8 Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 17 Dec 2008 00:07:14 +0000 Subject: Corrections for W3C validation --- templates/createOrEdit.html | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'templates/createOrEdit.html') diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html index 2158527..1e52ee1 100644 --- a/templates/createOrEdit.html +++ b/templates/createOrEdit.html @@ -7,8 +7,8 @@ {% endif %} {% if error %}

{{ error }}

{% endif %}

{% if new %}{% trans "New poll" %}{% else %}{% trans "Edit poll" %}{% endif %}

- +
{% if not new %} @@ -23,27 +23,27 @@ {% endif %} - - + + - + - + {% if not new %} {% if categories %} - + {% endif %} - - + - -
{% if new %}{% else %}{{poll.author.name}}{% endif %}{% trans "Author name" %}{% if new %}{% else %}{{poll.author.name}}{% endif %} {% trans "Name, firstname or nickname of the author" %}
{% if new %}{% else %}{% endif %} {% trans "Global name to present the poll" %}
{% if new %}{% else %}{% endif %} {% trans "Precise description of the poll" %}
- @@ -54,7 +54,7 @@
- @@ -63,9 +63,9 @@
{% trans "Poll category" %} {% if new %} - {% for category in categories %}{% endfor %} {%else%}{{poll.category.name}} @@ -74,8 +74,8 @@
{% if new %}{% trans "Poll type" %}{% if new %}{% else %}{{type_name}}{% endif %} {% trans "Type of the poll:" %} @@ -96,13 +96,12 @@ {% endif %}
+ {% if not new %}

{% trans "Choices" %}

+{% if choices %}
- {% if choices %} @@ -114,15 +113,17 @@ - {% endif %} +
{% trans "Up/down" %}{% trans "Label" %}{% trans "Limit" %}{% trans "Delete?"%}
+{% endif %} -
+ + -
{%trans "Limited to"%} {%trans "vote(s)"%}{% trans "Setting a new choice. Optionally you can set a limit of vote for this choice. This limit is usefull for limited resources allocation." %}
+ {% endif %} {% endblock %} -- cgit v1.2.3