console/SWSCloudAdministrator/templates/administrator/settings/update.html

30 lines
1.1 KiB
HTML
Raw Normal View History

2015-12-01 02:45:57 +03:00
{% extends 'administrator/_layout.auth.html' %}
{% block title %}Settings{% endblock %}
{% block subtitle %}Update{% endblock %}
{% block content %}
<form action="{{ url_for('administrator.settings_update', id=setting.id) }}" method="post">
<input type="hidden" name="id" value="{{ setting.id }}">
<table class="table table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" value="{{ setting.id }}" class="form-control" disabled /></td>
<td><input type="text" name="key" value="{{ setting.key }}" class="form-control"></td>
<td><input type="text" name="val" value="{{ setting.val }}" class="form-control"></td>
</tr>
</tbody>
</table>
<input type="submit" value="Update" class="btn btn-danger" />
<a href="{{ url_for('administrator.settings_index') }}">Cancel</a>
</form>
{% endblock %}