23 lines
690 B
Twig
23 lines
690 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block body %}
|
|
<h1>Log in</h1>
|
|
|
|
{% if error %}
|
|
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
|
{% endif %}
|
|
|
|
<form method="post">
|
|
<label for="email">Email</label>
|
|
<input type="email" id="email" name="_username" value="{{ last_username }}">
|
|
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="_password">
|
|
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
|
|
|
<button type="submit">Log in</button>
|
|
</form>
|
|
|
|
<p>No account yet? <a href="{{ path('app_register') }}">Register</a></p>
|
|
{% endblock %}
|