project/templates/registration/submit-registration.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 30 Nov 2010 15:58:17 +0530
changeset 316 88ff5f6b43f4
parent 315 566e5f783e75
child 405 6795ae41f54b
permissions -rw-r--r--
Fixing accommodation typo.
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_sex').attr('disabled', 'disabled');
316
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    11
      $('#id_accommodation_on_1st').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    12
      $('#id_accommodation_on_2nd').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    13
      $('#id_accommodation_on_3rd').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    14
      $('#id_accommodation_on_4th').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    15
      $('#id_accommodation_on_5th').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    16
      $('#id_accommodation_on_6th').attr('disabled', 'disabled');
201
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    17
    }
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_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
    19
      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
    20
        $('#id_sex').attr('disabled', 'disabled');
316
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    21
        $('#id_accommodation_on_1st').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    22
        $('#id_accommodation_on_2nd').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    23
        $('#id_accommodation_on_3rd').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    24
        $('#id_accommodation_on_4th').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    25
        $('#id_accommodation_on_5th').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    26
        $('#id_accommodation_on_6th').attr('disabled', 'disabled');
201
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    27
      } else {
315
566e5f783e75 Added six fields corresponding to accomodation in the accomodation model and made corresponding changes to view and form
Nishanth Amuluru <nishanth@fossee.in>
parents: 264
diff changeset
    28
      $('#id_accommodation_days').removeAttr('disabled');
566e5f783e75 Added six fields corresponding to accomodation in the accomodation model and made corresponding changes to view and form
Nishanth Amuluru <nishanth@fossee.in>
parents: 264
diff changeset
    29
      $('#id_sex').removeAttr('disabled');
316
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    30
      $('#id_accommodation_on_1st').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    31
      $('#id_accommodation_on_2nd').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    32
      $('#id_accommodation_on_3rd').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    33
      $('#id_accommodation_on_4th').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    34
      $('#id_accommodation_on_5th').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    35
      $('#id_accommodation_on_6th').removeAttr('disabled', 'disabled');
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
    });
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
    38
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
    39
    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
    40
        $('#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
    41
        $('#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
    42
      }
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
    43
      $('#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
    44
        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
    45
          $('#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
    46
          $('#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
    47
        } 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
    48
          $('#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
    49
          $('#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
    50
        }
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
    51
      });
201
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    52
  });
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    53
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    54
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    55
  </script>
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    56
{% endblock addscripts %}
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    57
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
{% 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
    59
    {% 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
    60
      <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
    61
    {% 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
    62
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
    63
    {% 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
    64
    {% 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
    65
    <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
    66
      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
    67
      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
    68
      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
    69
      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
    70
      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
    71
    </div>
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    72
    {% 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
    73
    {% 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
    74
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
    75
    <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
    76
    {% 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
    77
      "{% 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
    78
    {% 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
    79
        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
    80
    {% 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
    81
      <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
    82
        <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
    83
        <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
    84
          {{ 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
    85
        </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
    86
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
    87
        <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
    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
        <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
    90
      </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
    91
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
    </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
    93
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    94
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    95
    <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
    96
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    97
    {% 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
    98
    <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
    99
    <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
   100
    {% 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
   101
      "{% 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
   102
    {% 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
   103
        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
   104
      <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
   105
        <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
   106
        <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
   107
          {{ 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
   108
        </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
   109
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
        <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
   111
      </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
   112
    {% 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
   113
    <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
   114
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
    {% 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
   116
      <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
   117
    {% 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
   118
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
   119
      <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
   120
        <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
   121
        <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
   122
        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
   123
        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
   124
        <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
   125
        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
   126
        <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
   127
          {% 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
   128
            <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
   129
              <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
   130
              <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
   131
            </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
   132
          {% 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
   133
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
   134
          {% 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
   135
            <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
   136
              <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
   137
              <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
   138
            </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
   139
          {% 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
   140
        </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
   141
      </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
   142
      <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
   143
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
   144
      <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
   145
        <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
   146
        <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
   147
          {% 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
   148
            <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
   149
              <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
   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
                {{ 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
   152
              </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
   153
            </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
   154
          {% 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
   155
        </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
   156
      </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
   157
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
   158
      <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
   159
        <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
   160
        <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
   161
          {% 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
   162
            <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
   163
              <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
   164
              <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
   165
                {{ 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
   166
              </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
   167
            </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
   168
          {% 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
   169
        </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
   170
      </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
   171
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
   172
      <fieldset>
200
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   173
        <legend>Accommodation</legend>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   174
        <table class="scipycon-default">
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   175
          {{ acco_form }}
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   176
        </table>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   177
      </fieldset>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   178
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   179
      <fieldset>
250
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   180
        <legend>Payment</legend>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   181
        <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
   182
          {{ payment_form }}
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   183
        </table>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   184
      </fieldset>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   185
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   186
      <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
   187
        <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
   188
        <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
   189
          {{ 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
   190
        </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
   191
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
   192
        <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
   193
      </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
   194
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
   195
      {% 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
   196
    </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
   197
    {% 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
   198
    <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
   199
        $.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
   200
    </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
   201
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   202
{% endblock content %}