33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
{% extends 'administrator/_layout.auth.html' %}
|
|
|
|
{% block title %}Settings{% endblock %}
|
|
|
|
{% block subtitle %}Create{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if g.errors['total'] > 0 %}
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
{% for error in g.errors['items'] %}<li>{{ error }}</li>{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
<form action="{{ url_for('administrator.settings_create') }}" method="post">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Key</th>
|
|
<th>Value</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="text" name="key" value="" class="form-control" /></td>
|
|
<td><input type="text" name="val" value="" class="form-control" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<input type="submit" value="Create" class="btn btn-success" />
|
|
<a href="{{ url_for('administrator.settings_index') }}">Cancel</a>
|
|
</form>
|
|
{% endblock %}
|