project/templates/registration/submit-registration.html
changeset 96 178b89a3ca4f
parent 1 fda1c66b25f9
child 134 6d8d8b64853e
equal deleted inserted replaced
95:f94e0cd9a862 96:178b89a3ca4f
    18         <form action="/submit-registration/"
    18         <form action="/submit-registration/"
    19               method="post">
    19               method="post">
    20     {% if not user.is_authenticated %}
    20     {% if not user.is_authenticated %}
    21                 <fieldset>
    21                 <fieldset>
    22                     <legend>Have you already registered for the conference?</legend>
    22                     <legend>Have you already registered for the conference?</legend>
    23                     <table class="kiwipycon-default">
    23                     <table class="scipycon-default">
    24                         {{ login_form }}
    24                         {{ login_form }}
    25                     </table>
    25                     </table>
    26 
    26 
    27                 <input type="hidden"
    27                 <input type="hidden"
    28                        name="action"
    28                        name="action"
    44         <form action="/submit-registration/"
    44         <form action="/submit-registration/"
    45               enctype="multipart/form-data"
    45               enctype="multipart/form-data"
    46               method="post">
    46               method="post">
    47                 <fieldset>
    47                 <fieldset>
    48                     <legend>Registrant Details</legend>
    48                     <legend>Registrant Details</legend>
    49                     <table class="kiwipycon-default required">
    49                     <table class="scipycon-default required">
    50                         {{ registrant_form }}
    50                         {{ registrant_form }}
    51                     </table>
    51                     </table>
    52 
    52 
    53                 <input type="hidden"
    53                 <input type="hidden"
    54                        name="action"
    54                        name="action"
    59 
    59 
    60 {% if registration_form.errors %}<div class="errors">Please correct the errors below</div>{% endif %}
    60 {% if registration_form.errors %}<div class="errors">Please correct the errors below</div>{% endif %}
    61 
    61 
    62                 <fieldset>
    62                 <fieldset>
    63                     <legend>Details</legend>
    63                     <legend>Details</legend>
    64                     <table class="kiwipycon-default required">
    64                     <table class="scipycon-default required">
    65                         {% for field in registration_form.personal_fields %}
    65                         {% for field in registration_form.personal_fields %}
    66                         <tr class="{% cycle odd,even %}"><th>{{ field.label_tag }}</th>
    66                         <tr class="{% cycle odd,even %}"><th>{{ field.label_tag }}</th>
    67                           <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }} </td></tr>
    67                           <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }} </td></tr>
    68                          {% endfor %}
    68                          {% endfor %}
    69 
    69 
    77 
    77 
    78                 <br />
    78                 <br />
    79 
    79 
    80                 <fieldset>
    80                 <fieldset>
    81                     <legend>Demographics</legend>
    81                     <legend>Demographics</legend>
    82                     <table class="kiwipycon-default required">
    82                     <table class="scipycon-default required">
    83                         {% for field in registration_form.demographic_fields %}
    83                         {% for field in registration_form.demographic_fields %}
    84                         <tr class="{% cycle odd,even %}"><th>{{ field.label_tag }}</th>
    84                         <tr class="{% cycle odd,even %}"><th>{{ field.label_tag }}</th>
    85                           <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }} </td></tr>
    85                           <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }} </td></tr>
    86                          {% endfor %}
    86                          {% endfor %}
    87                     </table>
    87                     </table>
    88                 </fieldset>
    88                 </fieldset>
    89                 <fieldset>
    89                 <fieldset>
    90                     <legend>Others</legend>
    90                     <legend>Others</legend>
    91                     <table class="kiwipycon-default">
    91                     <table class="scipycon-default">
    92                          {{ wifi_form }}
    92                          {{ wifi_form }}
    93                     </table>
    93                     </table>
    94 
    94 
    95                 <button class="button left"
    95                 <button class="button left"
    96                         type="submit">
    96                         type="submit">