# HG changeset patch # User Madhusudan.C.S # Date 1279658043 -19800 # Node ID 6d8d8b64853eceb394b11ff4e822e140be5dcaff # Parent c5de36c4573e85cbdf1b1d8f10a7e3c1974319b2 Reformatted and reindented the submit registration form and also URLs to comply with scope based system. diff -r c5de36c4573e -r 6d8d8b64853e project/templates/registration/submit-registration.html --- a/project/templates/registration/submit-registration.html Wed Jul 21 02:03:09 2010 +0530 +++ b/project/templates/registration/submit-registration.html Wed Jul 21 02:04:03 2010 +0530 @@ -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 %} -
- {% if not user.is_authenticated %} -
- Have you already registered for the conference? - - {{ login_form }} -
+ {% endblock overreg %} - + + {% if not user.is_authenticated %} +
+ 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 %} +
+ Details +
{{ field.label_tag }}{{ field.errors }}{{ field }}
{{ field.help_text }}
+ {% for field in registration_form.personal_fields %} + + + + + {% endfor %} - {% for field in registration_form.other_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 }}
{{ 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 }} -
+
+ 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 %}