This commit is contained in:
2022-10-16 10:36:53 +02:00
parent 85125c7d6b
commit 0f3447adf5
27 changed files with 1183 additions and 75 deletions

View File

@ -0,0 +1,35 @@
{% extends 'base.html.twig' %}
{% block title %}Log in!{% endblock %}
{% block body %}
<div class="login-wrapper">
<div class="login">
<form method="post">
{% if error %}
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
<label for="inputEmail">Email</label>
<input type="email" value="{{ last_username }}" name="email" id="inputEmail" class="form-control" required autofocus>
<label for="inputPassword">Password</label>
<input type="password" name="password" id="inputPassword" class="form-control" required>
<input type="hidden" name="_csrf_token"
value="{{ csrf_token('authenticate') }}"
>
{# <div class="checkbox mb-3">#}
{# <label>#}
{# <input type="checkbox" name="_remember_me"> Remember me#}
{# </label>#}
{# </div>#}
<button class="btn btn-lg btn-primary" type="submit">
Sign in
</button>
</form>
</div>
</div>
{% endblock %}