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/editChoicesUser.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 templates/editChoicesUser.html (limited to 'templates/editChoicesUser.html') diff --git a/templates/editChoicesUser.html b/templates/editChoicesUser.html new file mode 100644 index 0000000..bec7384 --- /dev/null +++ b/templates/editChoicesUser.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% load markup %} +{% load i18n %} + +{% block fullscript %} + + + +{{ form_new_choice.media }} +{% endblock %} + +{% block content %} +

{% trans "Choices" %}

+{% if choices %} + + + + + {% for choice in choices %} + + + {% endfor %} + + + + +
{% trans "Label" %}{% trans "Limit" %}
{{choice.name}}{% if choice.limit %}{% trans "Limited to"%} {{choice.limit}} {% trans "vote(s)" %}{% endif %}
+
+{% endif %} +{% include 'editChoices.html' %} +{% endblock %} -- cgit v1.2.3