templates/login.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}
Вход
{% endblock %}
{% block nav %}
<h1>Вход</h1>
{% endblock %}
{% block body %}
{% if error %}
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<form action="{{ path('login') }}" method="post">
<label for="username">Username:</label>
<input type="text" id="username" name="_username" value="{{ last_username }}"/>
<br/><br/>
<label for="password">Password:</label>
<input type="password" id="password" name="_password"/>
{#
If you want to control the URL the user is redirected to on success (more details below)
#}
<input type="hidden" name="_target_path" value="/"/>
<br/><br/>
<button type="submit">login</button>
</form>
{% endblock %}