{% extends 'layout.html' %}
{% block title %}Přihlášení{% endblock %}
{% block body %}
<div class="setup-box">
    <h2>Přihlášení</h2>
    <form action="/login" 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>&nbsp;</td>
                <td>
                    <input type="submit" value="Přihlásit">
                </td>
            </tr>
        </table>
        {% if message is defined %}
        <p class="error">{{ message }}</p>
        {% endif %}
    </form>
</div>
{% endblock %}
