Files
flexly-cms/src/site_engine/web/admin/templates/login.html.j2
T
2026-11-09 15:42:27 +03:00

18 lines
622 B
Django/Jinja

{% extends 'base.html.j2' %}
{% block title %}Вход — админка{% endblock %}
{% block body %}
<main class='login'>
<h1>Вход в админку</h1>
{% if error %}<p class='error' role='alert'>{{ error }}</p>{% endif %}
<form method='post' action='/admin/login'>
<label>Логин
<input type='text' name='login' value='{{ login }}' autocomplete='username' required autofocus>
</label>
<label>Пароль
<input type='password' name='password' autocomplete='current-password' required>
</label>
<button type='submit'>Войти</button>
</form>
</main>
{% endblock %}