project/templates/registration/submit-registration.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 17 Sep 2011 18:20:01 +0530
branch2011
changeset 411 0e6657d73a6a
parent 405 6795ae41f54b
child 417 4dd4f6d77e10
permissions -rw-r--r--
Removing PSF from sponsors page
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');
201
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    15
    }
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    16
    $('#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
    17
      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
    18
        $('#id_sex').attr('disabled', 'disabled');
316
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    19
        $('#id_accommodation_on_1st').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    20
        $('#id_accommodation_on_2nd').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    21
        $('#id_accommodation_on_3rd').attr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    22
        $('#id_accommodation_on_4th').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
    23
      } 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
    24
      $('#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
    25
      $('#id_sex').removeAttr('disabled');
316
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    26
      $('#id_accommodation_on_1st').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    27
      $('#id_accommodation_on_2nd').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    28
      $('#id_accommodation_on_3rd').removeAttr('disabled', 'disabled');
88ff5f6b43f4 Fixing accommodation typo.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 315
diff changeset
    29
      $('#id_accommodation_on_4th').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
    30
      }
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    31
    });
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
    32
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
    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
    34
        $('#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
    35
        $('#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
    36
      }
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
    37
      $('#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
    38
        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
    39
          $('#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
    40
          $('#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
    41
        } 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
    42
          $('#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
    43
          $('#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
    44
        }
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
      });
201
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    46
  });
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    47
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    48
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    49
  </script>
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    50
{% endblock addscripts %}
2363acb15410 Added Javascript to disable accommodation fields when accommodation is not required.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 200
diff changeset
    51
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    52
{% 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
    53
    {% 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
    54
      <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
    55
    {% 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
    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
    {% 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
    58
    {% 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
    59
    <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
    60
      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
    61
      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
    62
      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
    63
      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
    64
      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
    65
    </div>
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    66
    {% 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
    67
    {% 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
    68
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
    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_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
    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_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
    73
        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
    {% 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
    75
      <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
    76
        <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
    77
        <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
    78
          {{ 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
    79
        </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
    80
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
    81
        <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
    82
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
        <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
    84
      </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
    85
6d8d8b64853e Reformatted and 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
    </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
    87
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    88
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    89
    <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
    90
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    91
    {% 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
    92
    <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
    93
    <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
    94
    {% 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
    95
      "{% 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
    96
    {% 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
    97
        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
    98
      <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
    99
        <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
   100
        <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
   101
          {{ 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
   102
        </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
   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
        <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
   105
      </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
   106
    {% 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
   107
    <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
   108
6d8d8b64853e Reformatted and 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
    {% 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
   110
      <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
   111
    {% 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
   112
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
      <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
   114
        <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
   115
        <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
   116
        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
   117
        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
   118
        <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
   119
        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
   120
        <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
   121
          {% 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
   122
            <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
   123
              <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
   124
              <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
   125
            </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
   126
          {% 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
   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
          {% 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
   129
            <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
   130
              <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
   131
              <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
   132
            </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
   133
          {% 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
   134
        </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
   135
      </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
   136
      <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
   137
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
   138
      <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
   139
        <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
   140
        <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
   141
          {% 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
   142
            <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
   143
              <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
   144
              <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
   145
                {{ 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
   146
              </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
   147
            </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
   148
          {% 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
   149
        </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
   150
      </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
   151
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
   152
      <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
   153
        <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
   154
        <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
   155
          {% 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
   156
            <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
   157
              <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
   158
              <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
   159
                {{ 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
   160
              </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
   161
            </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
   162
          {% 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
   163
        </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
   164
      </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
   165
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
   166
      <fieldset>
200
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   167
        <legend>Accommodation</legend>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   168
        <table class="scipycon-default">
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   169
          {{ acco_form }}
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   170
        </table>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   171
      </fieldset>
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   172
e31a620a511b Add html form fields for accommodation forms.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 191
diff changeset
   173
      <fieldset>
250
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   174
        <legend>Payment</legend>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   175
        <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
   176
          {{ payment_form }}
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   177
        </table>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   178
      </fieldset>
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   179
ac52304d265d Add a fieldset for payment details on the registration template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 201
diff changeset
   180
      <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
   181
        <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
   182
        <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
   183
          {{ 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
   184
        </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
   185
6d8d8b64853e Reformatted and reindented the submit registration form and also URLs to comply with scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
   186
        <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
   187
      </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
   188
6d8d8b64853e Reformatted and 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
      {% 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
   190
    </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
   191
    {% 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
   192
    <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
   193
        $.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
   194
    </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
   195
    {% endif %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   196
{% endblock content %}