Parent: [35b5cd] (diff)

Child: [9f4059] (diff)

Download this file

app_admin_options.html    24 lines (23 with data), 852 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!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"/>
</div>
{% endif %}
</form>