summaryrefslogtreecommitdiffstats
path: root/templates/admin/login_plugin.html
blob: b45b3a426c25807d72ae3886970eb75954c76620 (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 %}
            <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="{{ basepath }}/admin" class="btn btn-default" title="Back">Back</a>
        </form>
    </div>
{% endblock %}