From 442d34494354cbca1cad022290db417ae7a7aede Mon Sep 17 00:00:00 2001 From: etienne Date: Fri, 4 Dec 2009 13:33:06 +0000 Subject: Template cleaning - Simplification - Use of newforms --- templates/createOrEdit.html | 129 -------------------------------------------- 1 file changed, 129 deletions(-) delete mode 100644 templates/createOrEdit.html (limited to 'templates/createOrEdit.html') diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html deleted file mode 100644 index 1e52ee1..0000000 --- a/templates/createOrEdit.html +++ /dev/null @@ -1,129 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block content %} - {% if not new and not choices %} -

{% trans "As long as no options were added to the poll, it will not be made available." %}

- {% endif %} -{% if error %}

{{ error }}

{% endif %} -

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

-
- - - {% if not new %} - - - - - - - - - - {% endif %} - - - - - - - - - - - - - - - - - - - - {% if not new %} - - - - {% endif %} - - - - - - - - {% if categories %} - - - - {% endif %} - - - - - - - - - - - -
http://{{full_base_url}}{% trans "Copy this address and send it to voters who want to participate to this poll" %}
http://{{full_admin_url}}{% trans "Address to modify the current poll" %}
{% trans "Author name" %}{% if new %}{% else %}{{poll.author.name}}{% endif %}{% trans "Name, firstname or nickname of the author" %}
{% trans "Global name to present the poll" %}
{% trans "Precise description of the poll" %}
- - {% trans "Status of the poll. When closed no vote add or modification are allowed" %}
- - {% trans "If the poll is public it is available on the main page" %}
{% trans "Poll category" %}{% if new %} - {%else%}{{poll.category.name}} - {% endif %}{% trans "Category of the poll" %}
{% trans "Poll type" %}{% if new %}{% else %}{{type_name}}{% endif %}{% trans "Type of the poll:" %} -
    - -
  • {% trans '"Poll" is the appropriate type for a simple multi-choice poll' %}
  • -
  • {% trans '"Balanced poll" lets voters setting negative vote for some choices' %}
  • -
  • {% trans '"One choice poll"' %}
  • -
-
{% if new %} - - {% else %} - - {% endif %}
-
-{% if not new %} -

{% trans "Choices" %}

-{% if choices %}
- - - - - {% for choice in choices %} - - {% endfor %} - - - - -
{% trans "Up/down" %}{% trans "Label" %}{% trans "Limit" %}{% trans "Delete?"%}
+ / -{% trans "Limited to"%} {% trans "vote(s)" %}
-
-
{% 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