summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/auth.twig
blob: a0107b363a87cf57a6fd64f636b29042d0adeebf (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
{% include 'bc.twig' with {
    history: [
        {text: "Авторизация" }
    ]
} %}

{% if error %}
    <div class="mt-4 alert alert-danger"><b>Ошибка:</b> {{ error }}</div>
{% endif %}


<form method="post" action="/auth/">
    <div class="mt-2">
        <input type="text" name="username" placeholder="Логин" class="form-control">
    </div>

    <div class="mt-2">
        <input type="password" name="password" placeholder="Пароль" class="form-control">
    </div>

    <div class="mt-2">
        <button type="submit" class="btn btn-outline-primary">Войти</button>
    </div>
</form>