From 13c19820b53e96d624e9065c72aa2888e9ce3684 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Wed, 21 Jul 2010 02:04:03 +0530 Subject: Reformatted and reindented the submit registration form and also URLs to comply with scope based system. --- .../registration/submit-registration.html | 182 ++++++++++++--------- 1 file changed, 103 insertions(+), 79 deletions(-) diff --git a/project/templates/registration/submit-registration.html b/project/templates/registration/submit-registration.html index f3909ac..c4394a2 100644 --- a/project/templates/registration/submit-registration.html +++ b/project/templates/registration/submit-registration.html @@ -3,9 +3,11 @@ {% block title %}Submit Registration{% endblock %} {% block content %} + {% block formheading %} +

Submit Registration

+ {% endblock formheading %} -

Submit Registration

- + {% block overreg %} {% if over_reg %}
We have already reached the total number of registrations for the @@ -15,92 +17,114 @@ pay the admission fee.
{% endif %} -
+ {% endblock overreg %} + + {% if not user.is_authenticated %} -
- Have you already registered for the conference? - - {{ login_form }} -
- - - - -
- -
+
+ Have you already registered for the conference? + + {{ login_form }} +
+ + + + +
+ + {% endif %}

{% if not user.is_authenticated %} -
-
-
- Registrant Details - - {{ registrant_form }} -
- - -
+
+ +
+ Registrant Details + + {{ registrant_form }} +
+ + +
+ {% endif %} +
+ + {% if registration_form.errors %} +
Please correct the errors below
{% endif %} -
- -{% if registration_form.errors %}
Please correct the errors below
{% endif %} - -
- Details - - {% for field in registration_form.personal_fields %} - - - {% endfor %} - - {% for field in registration_form.other_fields %} - - - {% endfor %} - -
{{ field.label_tag }}{{ field.errors }}{{ field }}
{{ field.help_text }}
{{ field.label_tag }}{{ field.errors }}{{ field }}
{{ field.help_text }}
-
- -
- -
- Demographics - - {% for field in registration_form.demographic_fields %} - - - {% endfor %} -
{{ field.label_tag }}{{ field.errors }}{{ field }}
{{ field.help_text }}
-
-
- Others - - {{ wifi_form }} -
- - -
-
+ +
+ Details + + {% for field in registration_form.personal_fields %} + + + + + {% endfor %} + + {% for field in registration_form.other_fields %} + + + + + {% endfor %} +
{{ field.label_tag }}{{ field.errors }}{{ field }}
{{ field.help_text }}
{{ field.label_tag }}{{ field.errors }}{{ field }}
{{ field.help_text }}
+
+
+ +
+ Occupation + + {% for field in registration_form.occupation_fields %} + + + + + {% endfor %} +
{{ field.label_tag }} + {{ field.errors }}{{ field }}
{{ field.help_text }} +
+
+ +
+ Demographics + + {% for field in registration_form.demographic_fields %} + + + + + {% endfor %} +
{{ field.label_tag }} + {{ field.errors }}{{ field }}
{{ field.help_text }} +
+
+ +
+ Others + + {{ wifi_form }} +
+ + +
+ + {% block formextras %}{% endblock formextras %} + {% if message %} + {% endif %} {% endblock content %} -- cgit