Statistics
| Branch: | Tag: | Revision:

root / templates / registration / select_institution.html @ 1698da77

History | View | Annotate | Download (1.6 kB)

1
{% extends "base.html" %}
2
{% load i18n %}
3
   
4
   
5
       {% block content %}
6
        <div class="container-fluid">
7
      <div class="row-fluid">
8
        <div class="span2">
9
        </div><!--/span-->
10

    
11
                <div class="span10">
12
                        <div class="row-fluid">
13
                                <!--/span-->
14
                                <h3 class="muted">{% trans "Select your institution" %}</h3>
15
                                <hr>
16
                                        <div class="span10 alert alert-info">Excellent! You are a step away from joining the service. Select your institution from the dropdown list.</div>
17
                                        <div class="span10">
18
                                                <form method="POST" class="form-horizontal"        action="{% url selectinst %}">
19
                                                        {% csrf_token %} {% if form.non_field_errors %}
20
                                                        <p class="error">{{ form.non_field_errors}}</p>
21
                                                        {% endif %}
22
                                                        <div style="display: none">{{form.user}}</div>
23
                                                        <div
24
                                                                class="control-group {% if form.peer.errors %} error {% endif %}">
25
                                                                <label class="control-label" for="id_peer"><b>{% trans "Institution" %}</b></label>
26
                                                                <div class="controls">
27
                                                                        {{ form.peer }} {% if form.peer.errors %} <span
28
                                                                                class="help-inline"> {{ form.peer.errors|join:", " }} </span>
29
                                                                        {% endif %} <span class="help-block"> {{form.peer.help_text }}</span>
30
                                                                </div>
31
                                                        </div>
32

    
33
                                                        <div class="control-group">
34
                                                                <div class="controls">
35
                                                                        <button type="submit" id="applybutton" value="Apply"
36
                                                                                class="btn btn-primary" />
37
                                                                        {% trans "Apply" %}
38
                                                                        </button>
39
                                                        </div>
40
                                                        </div>
41
                                                </form>
42
                                        </div>
43
                                <!--/span-->
44
                        </div><!--/row-->
45
                </div><!--/span-->
46

    
47
        </div><!--/span-->
48
    </div><!--/.fluid-container-->
49
        {% endblock %}
50
   
51