project/templates/registration/submit-registration.html
branch2011
changeset 417 4dd4f6d77e10
parent 405 6795ae41f54b
equal deleted inserted replaced
416:ddbb94b8bb22 417:4dd4f6d77e10
     1 {% extends "base.html" %}
     1 {% extends "base.html" %}
       
     2 {% block content %}
       
     3 <h1>Submit Registration</h1>
       
     4 <div class="entry">
       
     5 <iframe id='ifrm' name='ifrm' src='http://doattend.com/embed_ticket/8396' scrolling='auto' width='80%' height='600'>Oops!! Sorry you will have to <a href = 'http://scipyindia.doattend.com'>register here</a></iframe>
     2 
     6 
     3 {% block title %}Submit Registration{% endblock %}
     7 <h2 id="sec-2">Note: </h2>
     4 
     8 
     5 {% block addscripts %}
     9 <h3 id="sec-2_1">Accommodation </h3>
     6   <script type="text/javascript">
       
     7 
    10 
     8   $(document).ready(function(){
    11 <ul>
     9     if (!$('#id_accommodation_required').is(':checked')) {
    12 <li>
    10       $('#id_sex').attr('disabled', 'disabled');
    13 Accommodation will be provided at a subsidized rate of Rs.100 per day for outstation teachers and students alone. 
    11       $('#id_accommodation_on_1st').attr('disabled', 'disabled');
    14 </li>
    12       $('#id_accommodation_on_2nd').attr('disabled', 'disabled');
    15 <li>
    13       $('#id_accommodation_on_3rd').attr('disabled', 'disabled');
    16 If you are sending us a DD, it should reach us on or before 20th of November, 2011.
    14       $('#id_accommodation_on_4th').attr('disabled', 'disabled');
    17 </li>
    15     }
    18 <li>
    16     $('#id_accommodation_required').change(function() {
    19 Accommodation will be confirmed at the venue only for participants with valid identity cards from their respective institutions.
    17       if (!$('#id_accommodation_required').is(':checked')) {
    20 </li>
    18         $('#id_sex').attr('disabled', 'disabled');
    21 </ul>
    19         $('#id_accommodation_on_1st').attr('disabled', 'disabled');
       
    20         $('#id_accommodation_on_2nd').attr('disabled', 'disabled');
       
    21         $('#id_accommodation_on_3rd').attr('disabled', 'disabled');
       
    22         $('#id_accommodation_on_4th').attr('disabled', 'disabled');
       
    23       } else {
       
    24       $('#id_accommodation_days').removeAttr('disabled');
       
    25       $('#id_sex').removeAttr('disabled');
       
    26       $('#id_accommodation_on_1st').removeAttr('disabled', 'disabled');
       
    27       $('#id_accommodation_on_2nd').removeAttr('disabled', 'disabled');
       
    28       $('#id_accommodation_on_3rd').removeAttr('disabled', 'disabled');
       
    29       $('#id_accommodation_on_4th').removeAttr('disabled', 'disabled');
       
    30       }
       
    31     });
       
    32 
    22 
    33     if (!$('#id_paid').is(':checked')) {
    23 <h3 id="sec-2_2">Registration Fees </h3>
    34         $('#id_type').attr('disabled', 'disabled');
    24 
    35         $('#id_details').attr('disabled', 'disabled');
    25 <h4 id="sec-2_2_1">Online Transfer</h4>
    36       }
    26 <ul>
    37       $('#id_paid').change(function() {
    27 	<li>The prefered way of paying is through DoAttend. If you face any problems with online transfer please contact <a href="support@doattend.com">DoAttend Support</a></li>
    38         if (!$('#id_paid').is(':checked')) {
    28 </ul>
    39           $('#id_type').attr('disabled', 'disabled');
    29 
    40           $('#id_details').attr('disabled', 'disabled');
    30 <h4 id="sec-2_2_2">Demand Draft </h4>
    41         } else {
    31 
    42           $('#id_type').removeAttr('disabled');
    32 <ul>
    43           $('#id_details').removeAttr('disabled');
    33 <li>
    44         }
    34 An email should be sent to <i>info@scipy.in</i> with the name of the
    45       });
    35 participant, institution, and the
    46   });
    36 transaction details(reference no. and account no.)
       
    37 </li>
       
    38 <li>
       
    39 Registered participants whose talks have been accepted will be
       
    40 exempt from the registration fees.
       
    41 </li>
       
    42 <li>
       
    43 The demand draft may be obtained in favour of <b>FOSSEE</b> payable at
       
    44 <b>Mumbai</b>.
       
    45 </li>
       
    46 <li>
       
    47 The Demand Drafts may be sent to
       
    48 <pre class="example">
       
    49 Prof. Prabhu Ramachandran,
       
    50 Department of Aerospace Engineering,
       
    51 IIT Bombay,Powai,
       
    52 Mumbai, Maharastra,
       
    53 India 400 076
       
    54 </pre>
       
    55 
       
    56 </li>
       
    57 </ul>
       
    58 
       
    59 <h4 id="sec-2_2_3">Electronic transfer (NEFT) </h4>
       
    60 
       
    61 <ul>
       
    62 <li>
       
    63 An email should be sent to <i>info@scipy.in</i> with the name of the
       
    64 participant, institution, and the
       
    65 transaction details(reference no. and account no., account holder
       
    66 name from which the transfer was made.)
       
    67 </li>
       
    68 <li>
       
    69 Registered participants whose talks have been accepted will be
       
    70 exempt from the registration fees.
       
    71 </li>
       
    72 <li>
       
    73 The total amount for fees and accommodation (if applicable) may be
       
    74 transfered to,
       
    75 <pre class="example">
       
    76 Account Number - 2724101100988
       
    77 Account Name - FOSSEE
       
    78 IFSC code - CNRB0002724
       
    79 Bank - Canara Bank
       
    80 Branch - IIT Powai, Mumbai - 400076
       
    81 </pre>
       
    82 
       
    83 </li>
       
    84 <li>
       
    85 While transferring the amount, ensure that the remark of transaction
       
    86 contain the Full name with email
       
    87 address registered with us.
       
    88 
       
    89 </li>
       
    90 </ul>
       
    91 </div>
    47 
    92 
    48 
    93 
    49   </script>
       
    50 {% endblock addscripts %}
       
    51 
       
    52 {% block content %}
       
    53     {% block formheading %}
       
    54       <h1>Submit Registration</h1>
       
    55     {% endblock formheading %}
       
    56 
       
    57     {% block overreg %}
       
    58     {% if over_reg %}
       
    59     <div class="notice">
       
    60       We have already reached the total number of registrations for the
       
    61       conference. If you would like to be put on a waiting list in the event that
       
    62       someone can't make it to the conference, please register below and we
       
    63       will be in contact if a registration spot comes available. <strong>N.B. Do not
       
    64       pay the admission fee.</strong>
       
    65     </div>
       
    66     {% endif %}
       
    67     {% endblock overreg %}
       
    68 
       
    69     <form action=
       
    70     {% block url_select_login %}
       
    71       "{% url scipycon_submit_registration params.scope %}"
       
    72     {% endblock url_select_login %}
       
    73         method="post">
       
    74     {% if not user.is_authenticated %}
       
    75       <fieldset>
       
    76         <legend>Have you already registered for the conference?</legend>
       
    77         <table class="scipycon-default">
       
    78           {{ login_form }}
       
    79         </table>
       
    80 
       
    81         <input type="hidden" name="action" value="login" />
       
    82 
       
    83         <button class="button left" type="submit">Login</button>
       
    84       </fieldset>
       
    85 
       
    86     </form>
       
    87     {% endif %}
       
    88 
       
    89     <p></p>
       
    90 
       
    91     {% if not user.is_authenticated %}
       
    92     <br />
       
    93     <form action=
       
    94     {% block url_select_reg %}
       
    95       "{% url scipycon_submit_registration params.scope %}"
       
    96     {% endblock url_select_reg %}
       
    97         enctype="multipart/form-data" method="post">
       
    98       <fieldset>
       
    99         <legend>Registrant Details</legend>
       
   100         <table class="scipycon-default required">
       
   101           {{ registrant_form }}
       
   102         </table>
       
   103 
       
   104         <input type="hidden" name="action" value="register" />
       
   105       </fieldset>
       
   106     {% endif %}
       
   107     <br />
       
   108 
       
   109     {% if registration_form.errors %}
       
   110       <div class="errors">Please correct the errors below</div>
       
   111     {% endif %}
       
   112 
       
   113       <fieldset>
       
   114         <legend>Details</legend>
       
   115         <strong>SciPy.in has a registration fee and nominal charges for
       
   116         accommodation of out station students and teachers. Please
       
   117         make sure you read the details before you register.
       
   118         <a href="{% url scipycon_fees params.scope %}">Click here</a>
       
   119         for details.</strong>
       
   120         <table class="scipycon-default required">
       
   121           {% for field in registration_form.personal_fields %}
       
   122             <tr class="{% cycle odd,even %}">
       
   123               <th>{{ field.label_tag }}</th>
       
   124               <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }}</td>
       
   125             </tr>
       
   126           {% endfor %}
       
   127 
       
   128           {% for field in registration_form.other_fields %}
       
   129             <tr class="{% cycle odd,even %}">
       
   130               <th>{{ field.label_tag }}</th>
       
   131               <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }}</td>
       
   132             </tr>
       
   133           {% endfor %}
       
   134         </table>
       
   135       </fieldset>
       
   136       <br />
       
   137 
       
   138       <fieldset>
       
   139         <legend>Occupation</legend>
       
   140         <table class="scipycon-default required">
       
   141           {% for field in registration_form.occupation_fields %}
       
   142             <tr class="{% cycle odd,even %}">
       
   143               <th>{{ field.label_tag }}</th>
       
   144               <td>
       
   145                 {{ field.errors }}{{ field }}<br />{{ field.help_text }}
       
   146               </td>
       
   147             </tr>
       
   148           {% endfor %}
       
   149         </table>
       
   150       </fieldset>
       
   151 
       
   152       <fieldset>
       
   153         <legend>Demographics</legend>
       
   154         <table class="scipycon-default">
       
   155           {% for field in registration_form.demographic_fields %}
       
   156             <tr class="{% cycle odd,even %}">
       
   157               <th>{{ field.label_tag }}</th>
       
   158               <td>
       
   159                 {{ field.errors }}{{ field }}<br />{{ field.help_text }}
       
   160               </td>
       
   161             </tr>
       
   162           {% endfor %}
       
   163         </table>
       
   164       </fieldset>
       
   165 
       
   166       <fieldset>
       
   167         <legend>Accommodation</legend>
       
   168         <table class="scipycon-default">
       
   169           {{ acco_form }}
       
   170         </table>
       
   171       </fieldset>
       
   172 
       
   173       <fieldset>
       
   174         <legend>Payment</legend>
       
   175         <table class="scipycon-default">
       
   176           {{ payment_form }}
       
   177         </table>
       
   178       </fieldset>
       
   179 
       
   180       <fieldset>
       
   181         <legend>Others</legend>
       
   182         <table class="scipycon-default">
       
   183           {{ wifi_form }}
       
   184         </table>
       
   185 
       
   186         <button class="button left" type="submit">Submit Registration</button>
       
   187       </fieldset>
       
   188 
       
   189       {% block formextras %}{% endblock formextras %}
       
   190     </form>
       
   191     {% if message %}
       
   192     <script type="text/javascript">
       
   193         $.jGrowl("{{ message }}");
       
   194     </script>
       
   195     {% endif %}
       
   196 {% endblock content %}
    94 {% endblock content %}