Parent: [741b7b] (diff)

Child: [edf791] (diff)

Download this file

app_admin_options.html    25 lines (24 with data), 895 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<form method="post" action="{{c.project.url()}}admin/{{app.config.options.mount_point}}/configure">
{% for o in app.config_options if o.name not in ['mount_point', 'mount_label', 'ordinal'] %}
<label for="{{o.name}}" class="grid-4">{{o.name}}</label>
<div class="grid-9">
{% if not allow_config %}
{{app.config.options.get(o.name, o.default)}}
{% else%}
<input id="{{o.name}}" name="{{o.name}}" value="{{app.config.options.get(o.name, o.default)}}">
{% endif %}
</div>
{% else %}
<p>No options to administer for {{app.config.options.mount_point}}.</p>
{% endfor %}
{% if allow_config %}
<div class="grid-13">&nbsp;</div>
<hr>
<div class="grid-13">&nbsp;</div>
<div class="grid-13">
<input type="submit" value="Save"/>
<a href="#" class="close">Cancel</a>
</div>
{% endif %}
</form>