project/templates/registration/submit-registration.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 15 Nov 2010 15:00:35 +0530
branchpayments
changeset 250 ac52304d265d
parent 201 2363acb15410
child 264 f80e1c78dcc0
permissions -rw-r--r--
Add a fieldset for payment details on the registration template.
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
    });
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    22
  });
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    23
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    24
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    25
  </script>
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    26
{% endblock addscripts %}
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    27
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
{% 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
    29
    {% 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
    30
      <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
    31
    {% 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
    32
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
    33
    {% 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
    34
    {% 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
    35
    <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
    36
      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
    37
      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
    38
      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
    39
      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
    40
      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
    41
    </div>
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    42
    {% 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
    43
    {% 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
    44
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
    45
    <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
    46
    {% 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
    47
      "{% 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
    48
    {% 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
    49
        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
    50
    {% 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
    51
      <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
    52
        <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
    53
        <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
    54
          {{ 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
    55
        </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
    56
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
        <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
    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
        <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
    60
      </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
    61
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
    </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
    63
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    64
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    65
    <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
    66
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    67
    {% 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
    68
    <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
    69
    <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
    70
    {% 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
    71
      "{% 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
    72
    {% 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
    73
        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
    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
        <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
    76
        <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
    77
          {{ 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
    78
        </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
    79
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
    80
        <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
    81
      </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
    82
    {% 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
    83
    <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
    84
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
    {% 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
    86
      <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
    87
    {% 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
    88
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
    89
      <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
    90
        <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
    91
        <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
    92
        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
    93
        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
    94
        <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
    95
        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
    96
        <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
    97
          {% 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
    98
            <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
    99
              <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
   100
              <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
   101
            </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
   102
          {% 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
   103
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
   104
          {% 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
   105
            <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
   106
              <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
   107
              <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
   108
            </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
   109
          {% 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
   110
        </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
   111
      </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
   112
      <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
   113
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
   114
      <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
   115
        <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
   116
        <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
   117
          {% 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
   118
            <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
   119
              <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
   120
              <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
   121
                {{ 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
   122
              </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
   123
            </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
   124
          {% 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
   125
        </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
   126
      </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
   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>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
   130
        <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
   131
          {% 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
   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>
200
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   143
        <legend>Accommodation</legend>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   144
        <table class="scipycon-default">
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   145
          {{ acco_form }}
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   146
        </table>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   147
      </fieldset>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   148
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   149
      <fieldset>
250
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   150
        <legend>Payment</legend>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   151
        <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
   152
          {{ payment_form }}
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   153
        </table>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   154
      </fieldset>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   155
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   156
      <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
   157
        <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
   158
        <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
   159
          {{ 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
   160
        </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
   161
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
   162
        <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
   163
      </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
   164
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
   165
      {% 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
   166
    </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
   167
    {% 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
   168
    <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
   169
        $.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
   170
    </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
   171
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   172
{% endblock content %}