{% extends 'layout.html' %}
{% block title %}Přihlášení{% endblock %}
{% block body %}
<div class="setup-box">
    <h2>Přihlášení</h2>
    <form method="post">
        <table>
            <tr>
                <td>Jméno:</td>
                <td>admin</td>
            </tr>
            <tr>
                <td>Heslo</td>
                <td><input type="password" name="password"></td>
            </tr>
            <tr>
                <td><input type="hidden" name="redir" value="{{ redir }}"></td>
                <td><input type="submit" value="Přihlásit"></td>
            </tr>
        </table>
        {% if message %}
        <p class="{{ message[1] }}">{{ message[2] }}</p>
        {% endif %}
    </form>
</div>
{% endblock %}
