From b10461003a785b6579e82fae380161396d94b68e Mon Sep 17 00:00:00 2001 From: etienne Date: Tue, 5 Aug 2008 21:48:10 +0000 Subject: Initial import --- templates/createOrEdit.html | 61 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 templates/createOrEdit.html (limited to 'templates/createOrEdit.html') diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html new file mode 100644 index 0000000..abc949e --- /dev/null +++ b/templates/createOrEdit.html @@ -0,0 +1,61 @@ +{% extends "base.html" %} + +{% block content %} +

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

+{% if error %}

{{ error }}

{% endif %} +
+ + {% if not new %} + + + + + + + + + + {% endif %} + + + + + + + + + + + + + + + + + {% if not new %}{% if choices %} + + + {% for choice in choices %} + + + {% endfor %}{% endif %} + {% endif %}
http://{{full_base_url}}Copy this address and send it to voters who want to participate to this poll
http://{{full_admin_url}}Address to modify the current poll
{% if new %}{% else %}{{author_name}}{% endif %}Name, firstname or nickname of the author
{% if new %}{% else %}{{poll_name}}{% endif %}Global name to present the poll
{% if new %}{% else %}{{poll_desc}}{% endif %}Precise description of the poll
Choices Delete?
 {{choice.name}}
{{choiceform}}
+ {% if new %} + + {% else %} + + {% endif %}
+{% endblock %} -- cgit v1.2.3