blob: d95bf75cdb2b1b6a087f0d2be4c5fe004cd99636 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{% extends "master-admin.html" %}
{% block main %}
<h2>{{ title }}</h2>
{% if message %}
<div class="alert alert-{{message_type}}">
<p>{{ message }}</p>
</div>
{% endif %}
<div id="options">
<form role="form" id="{{ name }}" action="{{ action }}" method="post" enctype="application/x-www-form-urlencoded">
{% for o in options_order %}
<div class="form-group">
<label for="{{ o }}">{{ o }}:</label>
<input type="text" class="form-control" name="{{ o }}" value="{{ options[o][2] }}">
</div>
<span class="help-block">{{ options[o][0] }}</span>
{% endfor %}
<button id="submit" class="btn btn-primary" name="submit" type="submit" value="Submit">
Save
</button>
<a href="{{ back }}" class="btn btn-default" title="Back">Back</a>
</form>
</div>
{% endblock %}
|