Revision 25028c1d templates/edumanage/realms_edit.html
b/templates/edumanage/realms_edit.html | ||
---|---|---|
1 | 1 |
{% extends "edumanage/welcome.html"%} |
2 |
{% load i18n %} |
|
2 | 3 |
{% block crumbs %} |
3 |
<li><a href="{% url manage %}">Home</a><span class="divider">/</span></li>
|
|
4 |
<li><a href="{% url realms %}">Realms</a><span class="divider">/</span></li>
|
|
5 |
<li class="active">{% if edit %}{{form.instance.realm}} (edit){% else %}Add Realm{% endif %}</li>
|
|
4 |
<li><a href="{% url manage %}">{% trans "Home" %}</a><span class="divider">/</span></li>
|
|
5 |
<li><a href="{% url realms %}">{% trans "Realms" %}</a><span class="divider">/</span></li>
|
|
6 |
<li class="active">{% if edit %}{{form.instance.realm}} ({% trans "edit" %}){% else %}{% trans "Add Realm" %}{% endif %}</li>
|
|
6 | 7 |
{% endblock %} |
7 | 8 |
{% block extrahead %} |
8 | 9 |
<script type="text/javascript" src="/static/js/jquery.min.js"></script> |
... | ... | |
16 | 17 |
|
17 | 18 |
{% block homeactive %}{% endblock %} |
18 | 19 |
{% block realmsactive %}class="active"{% endblock %} |
19 |
{% block subcontent %}<h4>{% if edit %}{{form.instance.realm}} (edit){% else %}Add Realm{% endif %}</h4>
|
|
20 |
{% block subcontent %}<h4>{% if edit %}{{form.instance.realm}} ({% trans "edit" %}){% else %}{% trans "Add Realm" %}{% endif %}</h4>
|
|
20 | 21 |
<hr> |
21 | 22 |
{% if messages %} |
22 | 23 |
<table class="table table-condensed"> |
... | ... | |
37 | 38 |
{{form.instid}} |
38 | 39 |
</div> |
39 | 40 |
<div class="control-group {% if form.realm.errors %} error {% endif %}"> |
40 |
<label class="control-label" for="id_realm"><b>Realm</b></label>
|
|
41 |
<label class="control-label" for="id_realm"><b>{% trans "Realm" %}</b></label>
|
|
41 | 42 |
<div class="controls"> |
42 | 43 |
{{ form.realm }} |
43 | 44 |
{% if form.realm.errors %} <span class="help-inline"> {{ form.realm.errors|join:", " }} </span> |
... | ... | |
45 | 46 |
</div> |
46 | 47 |
</div> |
47 | 48 |
<div class="control-group {% if form.proxyto.errors %} error {% endif %}"> |
48 |
<label class="control-label" for="id_proxyto"><b>Proxy to Servers</b></label>
|
|
49 |
<label class="control-label" for="id_proxyto"><b>{% trans "Proxy to Servers" %}</b></label>
|
|
49 | 50 |
<div class="controls"> |
50 | 51 |
{{ form.proxyto }} |
51 | 52 |
{% if form.proxyto.errors %} <span class="help-inline"> {{ form.proxyto.errors|join:", " }} </span> |
... | ... | |
55 | 56 |
<div class="control-group"> |
56 | 57 |
<div class="controls"> |
57 | 58 |
<button type="submit" id="applybutton" value="Apply" class="btn btn-large btn-primary"/> |
58 |
Apply</button>
|
|
59 |
{% trans "Apply" %}</button>
|
|
59 | 60 |
</div> |
60 | 61 |
</div> |
61 | 62 |
</form> |
Also available in: Unified diff