From b5c67fad51b05b105487ff73c2d803ad9951f894 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 4 Mar 2011 11:10:33 -0600 Subject: Get general form up to snuff Signed-off-by: Dan McGee --- templates/general_form.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/general_form.html b/templates/general_form.html index 12b35463..1fa33513 100644 --- a/templates/general_form.html +++ b/templates/general_form.html @@ -6,14 +6,18 @@

{{title}}

- {% if description %}{{description}}{% endif %} + {{description}} + {{form.non_field_errors}}
{% csrf_token %}
{% for field in form %} -


- {{field.help_text}} {% else %}: {% endif %} - {{field}} {% if field.required %}*{% endif%}

+ {{field.errors}} +

+ {% if field.help_text %}
{{field.help_text}}{% endif %} + {{field}} + {% if field.field.required %}*{% endif %} +

{% endfor %}

-- cgit v1.2.3-54-g00ecf