project/templates/registration/submit-registration.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 16 Nov 2010 17:38:06 +0530
branchpayments
changeset 264 f80e1c78dcc0
parent 250 ac52304d265d
child 315 566e5f783e75
permissions -rw-r--r--
Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
{% block title %}Submit Registration{% endblock %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
201
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
     5
{% block addscripts %}
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
     6
  <script type="text/javascript">
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
     7
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
     8
  $(document).ready(function(){
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
     9
    if (!$('#id_accommodation_required').is(':checked')) {
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    10
      $('#id_accommodation_days').attr('disabled', 'disabled');
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    11
      $('#id_sex').attr('disabled', 'disabled');
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    12
    }
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    13
    $('#id_accommodation_required').change(function() {
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    14
      if (!$('#id_accommodation_required').is(':checked')) {
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    15
        $('#id_accommodation_days').attr('disabled', 'disabled');
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    16
        $('#id_sex').attr('disabled', 'disabled');
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    17
      } else {
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    18
        $('#id_accommodation_days').removeAttr('disabled');
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    19
        $('#id_sex').removeAttr('disabled');
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    20
      }
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    21
    });
264
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    22
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    23
    if (!$('#id_paid').is(':checked')) {
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    24
        $('#id_type').attr('disabled', 'disabled');
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    25
        $('#id_details').attr('disabled', 'disabled');
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    26
      }
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    27
      $('#id_paid').change(function() {
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    28
        if (!$('#id_paid').is(':checked')) {
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    29
          $('#id_type').attr('disabled', 'disabled');
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    30
          $('#id_details').attr('disabled', 'disabled');
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    31
        } else {
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    32
          $('#id_type').removeAttr('disabled');
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    33
          $('#id_details').removeAttr('disabled');
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    34
        }
f80e1c78dcc0 Add javascript to submit registration form template to make sure the details are supplied only when user fills in the details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 250
diff changeset
    35
      });
201
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    36
  });
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    37
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    38
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    39
  </script>
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    40
{% endblock addscripts %}
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    41
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    42
{% block content %}
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    43
    {% block formheading %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    44
      <h1>Submit Registration</h1>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    45
    {% endblock formheading %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    46
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    47
    {% block overreg %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    48
    {% if over_reg %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
    <div class="notice">
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    50
      We have already reached the total number of registrations for the
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    51
      conference. If you would like to be put on a waiting list in the event that
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    52
      someone can't make it to the conference, please register below and we
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    53
      will be in contact if a registration spot comes available. <strong>N.B. Do not
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    54
      pay the admission fee.</strong>
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    55
    </div>
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    56
    {% endif %}
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    57
    {% endblock overreg %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    58
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    59
    <form action=
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    60
    {% block url_select_login %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    61
      "{% url scipycon_submit_registration params.scope %}"
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    62
    {% endblock url_select_login %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    63
        method="post">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    64
    {% if not user.is_authenticated %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    65
      <fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    66
        <legend>Have you already registered for the conference?</legend>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    67
        <table class="scipycon-default">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    68
          {{ login_form }}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    69
        </table>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    70
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    71
        <input type="hidden" name="action" value="login" />
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    72
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    73
        <button class="button left" type="submit">Login</button>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    74
      </fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    75
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    76
    </form>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    77
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    78
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    79
    <p></p>
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    80
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    81
    {% if not user.is_authenticated %}
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    82
    <br />
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    83
    <form action=
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    84
    {% block url_select_reg %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    85
      "{% url scipycon_submit_registration params.scope %}"
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    86
    {% endblock url_select_reg %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    87
        enctype="multipart/form-data" method="post">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    88
      <fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    89
        <legend>Registrant Details</legend>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    90
        <table class="scipycon-default required">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    91
          {{ registrant_form }}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    92
        </table>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    93
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    94
        <input type="hidden" name="action" value="register" />
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    95
      </fieldset>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    96
    {% endif %}
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    97
    <br />
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    98
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    99
    {% if registration_form.errors %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   100
      <div class="errors">Please correct the errors below</div>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   101
    {% endif %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   102
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   103
      <fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   104
        <legend>Details</legend>
191
0eb941d14ec3 Changing the fee details in the registration form to the link.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 134
diff changeset
   105
        <strong>SciPy.in has a registration fee and nominal charges for
0eb941d14ec3 Changing the fee details in the registration form to the link.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 134
diff changeset
   106
        accommodation of out station students and teachers. Please
0eb941d14ec3 Changing the fee details in the registration form to the link.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 134
diff changeset
   107
        make sure you read the details before you register.
0eb941d14ec3 Changing the fee details in the registration form to the link.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 134
diff changeset
   108
        <a href="{% url scipycon_fees params.scope %}">Click here</a>
0eb941d14ec3 Changing the fee details in the registration form to the link.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 134
diff changeset
   109
        for details.</strong>
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   110
        <table class="scipycon-default required">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   111
          {% for field in registration_form.personal_fields %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   112
            <tr class="{% cycle odd,even %}">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   113
              <th>{{ field.label_tag }}</th>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   114
              <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }}</td>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   115
            </tr>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   116
          {% endfor %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   117
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   118
          {% for field in registration_form.other_fields %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   119
            <tr class="{% cycle odd,even %}">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   120
              <th>{{ field.label_tag }}</th>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   121
              <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }}</td>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   122
            </tr>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   123
          {% endfor %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   124
        </table>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   125
      </fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   126
      <br />
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   127
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   128
      <fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   129
        <legend>Occupation</legend>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   130
        <table class="scipycon-default required">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   131
          {% for field in registration_form.occupation_fields %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   132
            <tr class="{% cycle odd,even %}">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   133
              <th>{{ field.label_tag }}</th>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   134
              <td>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   135
                {{ field.errors }}{{ field }}<br />{{ field.help_text }}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   136
              </td>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   137
            </tr>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   138
          {% endfor %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   139
        </table>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   140
      </fieldset>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   141
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   142
      <fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   143
        <legend>Demographics</legend>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   144
        <table class="scipycon-default">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   145
          {% for field in registration_form.demographic_fields %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   146
            <tr class="{% cycle odd,even %}">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   147
              <th>{{ field.label_tag }}</th>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   148
              <td>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   149
                {{ field.errors }}{{ field }}<br />{{ field.help_text }}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   150
              </td>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   151
            </tr>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   152
          {% endfor %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   153
        </table>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   154
      </fieldset>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   155
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   156
      <fieldset>
200
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   157
        <legend>Accommodation</legend>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   158
        <table class="scipycon-default">
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   159
          {{ acco_form }}
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   160
        </table>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   161
      </fieldset>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   162
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   163
      <fieldset>
250
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   164
        <legend>Payment</legend>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   165
        <table class="scipycon-default">
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   166
          {{ payment_form }}
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   167
        </table>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   168
      </fieldset>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   169
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   170
      <fieldset>
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   171
        <legend>Others</legend>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   172
        <table class="scipycon-default">
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   173
          {{ wifi_form }}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   174
        </table>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   175
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   176
        <button class="button left" type="submit">Submit Registration</button>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   177
      </fieldset>
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   178
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   179
      {% block formextras %}{% endblock formextras %}
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   180
    </form>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   181
    {% if message %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   182
    <script type="text/javascript">
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   183
        $.jGrowl("{{ message }}");
134
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   184
    </script>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   185
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   186
{% endblock content %}