-
Notifications
You must be signed in to change notification settings - Fork 1
/
registration.html
112 lines (98 loc) · 3.54 KB
/
registration.html
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
---
layout: page
title: Registration
registration_state: closed
form_api_token: 98683a337b36c70e30164e2fc7b3f659
email: [email protected]
---
{% case page.registration_state %}
{% when 'notyet' %}
<p class="message">Registration will be open starting from the 8th of January, 2018</p>
{% when 'closed' %}
<p class="message">Registration is closed.</p>
{% when 'open' %}
<p class="message">Registration is open.</p>
<p>
You can use this form to register for the {{ site.title }}.
</p>
<p>
If you any questions
regarding registration or in general, feel free to
<a href="mailto:{{page.email}}">contact us via email</a>.
</p>
<form action="http://getsimpleform.com/messages?form_api_token={{page.form_api_token}}" method="post">
<div class="form-field">
<div class="form-field-title">
<label for="name">Name <span class="form-field-req">*</span></label>
</div>
<input type="text" size="60" maxlength="80" name="name" autofocus required />
<!-- autofocus with fallback for older browsers -->
<script>
if (!("autofocus" in document.createElement("input"))) {
document.getElementById("q").focus();
}
</script>
</div>
<div class="form-field">
<div class="form-field-title">
<label for="email">Email <span class="form-field-req">*</span></label>
</div>
<input type="email" size="60" maxlength="80" name="email" required />
</div>
<div class="form-field">
<div class="form-field-title">
<label for="affiliation">Affiliation</label>
</div>
<div class="form-field-description">
Please enter the name of your home university, institute etc., if any.
</div>
<input type="text" size="60" maxlength="80" name="affiliation" />
</div>
<div class="form-field">
<div class="form-field-title">
<label for="arrival_date">Arrival date <span class="form-field-req">*</span></label>
</div>
<div class="form-field-description">
Please select the day of arrival.
</div>
<select name="arrival.date" id="arrival_date" required>
<option value="Sunday 3 June" selected="selected">Sunday 3 June or before</option>
<option value="Monday 4 June">Monday 4 June</option>
<option value="Tuesday 5 June">Tuesday 5 June</option>
<option value=">Wednesday 6 June">Wednesday 6 June</option>
<option value="Thursday 7 June">Thursday 7 June</option>
<option value="Friday 8 June">Friday 8 June</option>
</select>
</div>
<div class="form-field">
<div class="form-field-title">
<label for="departure_date">Departure date <span class="form-field-req">*</span></label>
</div>
<div class="form-field-description">
Please select the day of departure.
</div>
<select name="departure.date" id="departure_date" required>
<option value="Monday 4 June">Monday 4 June</option>
<option value="Tuesday 5 June">Tuesday 5 June</option>
<option value=">Wednesday 6 June">Wednesday 6 June</option>
<option value="Thursday 7 June">Thursday 7 June</option>
<option value="Friday 8 June">Friday 8 June</option>
<option value="Saturday 9 June" selected="selected">Saturday 9 June or later</option>
</select>
</div>
<div class="form-field">
<div class="form-field-title">
<label for="presentation">Comments</label>
</div>
<div class="form-field-description">
Here you any comments, questions or wishes
regarding the workshop.
</div>
<textarea name="comments" rows="10" cols="60"></textarea>
</div>
<input type='hidden' name='redirect_to' value='{{ site.url }}{{ site.baseurl }}/thank-you' />
<div class="form-field">
<input type="submit" value="Register!" />
</div>
</form>
{% endcase %}