From 465a74eddb0df7fa8312c8ca2e65596812470922 Mon Sep 17 00:00:00 2001 From: Thayer Williams Date: Tue, 16 Mar 2010 11:18:45 -0700 Subject: Updated generic form for accessibility Signed-off-by: Dan McGee --- templates/general_form.html | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) (limited to 'templates') diff --git a/templates/general_form.html b/templates/general_form.html index 776f367..d499919 100644 --- a/templates/general_form.html +++ b/templates/general_form.html @@ -1,25 +1,23 @@ {% extends "base.html" %} +{% block title %}Arch Linux - {{title}}{% endblock %} {% block content %} -
-

{{title}}

- {% if description %}{{description}}{% endif %} -
- +
+ +

{{title}}

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


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

{% endfor %} - - - -
- {{field.label}}: -
{{field.help_text}}
{{field}}
- -
-
-
+ +

+ + + {% endblock %} -- cgit v1.2.3-24-g4f1b