root / djnro / templates / registration / select_institution.html @ 1d70dbce
History | View | Annotate | Download (2.2 kB)
1 |
{% extends "base.html" %} |
---|---|
2 |
{% load i18n %} |
3 |
|
4 |
{% block subcontent %} |
5 |
<h1>Select your institution</h1> |
6 |
<hr>
|
7 |
<div class="row"> |
8 |
Excellent! You are a click away from getting into your institution eduroam management. |
9 |
Select your institution to proceed. Our administrators will activate your account and notify you via e-mail. |
10 |
|
11 |
Please do not continue if you are not the eduroam administrator for this institution. |
12 |
Any inappropriate requests will be reported directly to the institution, along with your name and email. |
13 |
</div>
|
14 |
<form method="POST" class="form-horizontal" action="{% url selectinst %}"> |
15 |
{% csrf_token %} |
16 |
{% if form.non_field_errors %} |
17 |
<p class="error"> |
18 |
{{ form.non_field_errors}} |
19 |
</p>
|
20 |
{% endif %} |
21 |
<div style="display: none"> |
22 |
{{ form.user }} |
23 |
</div>
|
24 |
{% if nomail %} |
25 |
<div class="control-group {% if form.email.errors %} error {% endif %}"> |
26 |
<label class="control-label" for="id_email"><b>{% trans "Email" %}</b></label> |
27 |
<div class="controls"> |
28 |
{{ form.email }} |
29 |
{% if form.email.errors %} <span class="help-inline"> {{ form.email.errors|join:", " }} </span> |
30 |
{% endif %} <span class="help-block"> {{ form.institution.help_text }}</span> |
31 |
</div>
|
32 |
</div>
|
33 |
{% else %} |
34 |
<div style="display: none"> |
35 |
{{form.email}} |
36 |
</div>
|
37 |
{% endif %} |
38 |
<div class="control-group {% if form.institution.errors %} error {% endif %}"> |
39 |
<label class="control-label" for="id_institution"><b>{% trans "Institution" %}</b></label> |
40 |
<div class="controls"> |
41 |
{{ form.institution }} |
42 |
{% if form.institution.errors %} <span class="help-inline"> {{ form.institution.errors|join:", " }} </span> |
43 |
{% endif %} <span class="help-block"> {{ form.institution.help_text }}</span> |
44 |
</div>
|
45 |
</div>
|
46 |
|
47 |
<div class="control-group"> |
48 |
<div class="controls"> |
49 |
<button type="submit" id="applybutton" value="Apply" class="btn btn-primary"> |
50 |
{% trans "Apply" %}</button>
|
51 |
</div>
|
52 |
</div>
|
53 |
</form>
|
54 |
|
55 |
{% endblock %} |
56 |
|