blob: f80f451576b94247b5b730aa00d18833181d87c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
{% extends "base.html" %}
{% block title %}Submit Registration{% endblock %}
{% block content %}
{% block formheading %}
<h1>Submit Registration</h1>
{% endblock formheading %}
{% block overreg %}
{% if over_reg %}
<div class="notice">
We have already reached the total number of registrations for the
conference. If you would like to be put on a waiting list in the event that
someone can't make it to the conference, please register below and we
will be in contact if a registration spot comes available. <strong>N.B. Do not
pay the admission fee.</strong>
</div>
{% endif %}
{% endblock overreg %}
<form action=
{% block url_select_login %}
"{% url scipycon_submit_registration params.scope %}"
{% endblock url_select_login %}
method="post">
{% if not user.is_authenticated %}
<fieldset>
<legend>Have you already registered for the conference?</legend>
<table class="scipycon-default">
{{ login_form }}
</table>
<input type="hidden" name="action" value="login" />
<button class="button left" type="submit">Login</button>
</fieldset>
</form>
{% endif %}
<p></p>
{% if not user.is_authenticated %}
<br />
<form action=
{% block url_select_reg %}
"{% url scipycon_submit_registration params.scope %}"
{% endblock url_select_reg %}
enctype="multipart/form-data" method="post">
<fieldset>
<legend>Registrant Details</legend>
<table class="scipycon-default required">
{{ registrant_form }}
</table>
<input type="hidden" name="action" value="register" />
</fieldset>
{% endif %}
<br />
{% if registration_form.errors %}
<div class="errors">Please correct the errors below</div>
{% endif %}
<fieldset>
<legend>Details</legend>
<strong>SciPy.in has a registration fee and nominal charges for
accommodation of out station students and teachers. Please
make sure you read the details before you register.
<a href="{% url scipycon_fees params.scope %}">Click here</a>
for details.</strong>
<table class="scipycon-default required">
{% for field in registration_form.personal_fields %}
<tr class="{% cycle odd,even %}">
<th>{{ field.label_tag }}</th>
<td>{{ field.errors }}{{ field }}<br />{{ field.help_text }}</td>
</tr>
{% endfor %}
{% for field in registration_form.other_fields %}
<tr class="{% cycle odd,even %}">
<th>{{ field.label_tag }}</th>
<td>{{ field.errors }}{{ field }}<br />{{ field.help_text }}</td>
</tr>
{% endfor %}
</table>
</fieldset>
<br />
<fieldset>
<legend>Occupation</legend>
<table class="scipycon-default required">
{% for field in registration_form.occupation_fields %}
<tr class="{% cycle odd,even %}">
<th>{{ field.label_tag }}</th>
<td>
{{ field.errors }}{{ field }}<br />{{ field.help_text }}
</td>
</tr>
{% endfor %}
</table>
</fieldset>
<fieldset>
<legend>Demographics</legend>
<table class="scipycon-default">
{% for field in registration_form.demographic_fields %}
<tr class="{% cycle odd,even %}">
<th>{{ field.label_tag }}</th>
<td>
{{ field.errors }}{{ field }}<br />{{ field.help_text }}
</td>
</tr>
{% endfor %}
</table>
</fieldset>
<fieldset>
<legend>Accommodation</legend>
<table class="scipycon-default">
{{ acco_form }}
</table>
</fieldset>
<fieldset>
<legend>Others</legend>
<table class="scipycon-default">
{{ wifi_form }}
</table>
<button class="button left" type="submit">Submit Registration</button>
</fieldset>
{% block formextras %}{% endblock formextras %}
</form>
{% if message %}
<script type="text/javascript">
$.jGrowl("{{ message }}");
</script>
{% endif %}
{% endblock content %}
|