2021-05-30 17:44:10 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2022-04-11 17:50:23 +02:00
|
|
|
{% block title %}Log In!{% endblock %}
|
2021-05-30 17:44:10 +02:00
|
|
|
|
|
|
|
{% block body %}
|
2022-04-11 17:50:23 +02:00
|
|
|
<div class="container box">
|
|
|
|
<div class="row">
|
|
|
|
<div class="login-form bg-dark mt-4 p-4">
|
|
|
|
<form method="post" class="row g-3">
|
|
|
|
<h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
|
|
|
|
|
2022-05-03 14:52:04 +02:00
|
|
|
{% if error %}
|
2022-04-11 17:50:23 +02:00
|
|
|
<div class="alert-dark alert-danger">
|
2022-05-03 14:52:04 +02:00
|
|
|
{{ error.messageKey|trans(error.messageData, 'security') }}
|
2021-06-13 13:23:56 +02:00
|
|
|
</div>
|
2022-04-11 17:50:23 +02:00
|
|
|
{% endif %}
|
2021-06-13 13:23:56 +02:00
|
|
|
|
2022-04-11 17:50:23 +02:00
|
|
|
<div class="col-12">
|
|
|
|
<label for="inputEmail">Username or eMail</label>
|
|
|
|
<input type="text" name="username" id="inputUsername" class="form-control" value="{{ last_username }}" required autofocus>
|
|
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
|
|
<label for="inputPassword">Password</label>
|
|
|
|
<input type="password" name="password" id="inputPassword" class="form-control" required>
|
2021-06-13 13:23:56 +02:00
|
|
|
</div>
|
2022-04-11 17:50:23 +02:00
|
|
|
<div class="form-check mb-3">
|
|
|
|
<label>
|
|
|
|
<input type="checkbox" name="_remember_me" class="form-check-input">Remember me
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
2021-06-13 13:23:56 +02:00
|
|
|
|
2022-04-11 17:50:23 +02:00
|
|
|
<div class="col-12">
|
|
|
|
<button class="btn btn-lg btn-primary float-end" type="submit">
|
|
|
|
Sign in
|
|
|
|
</button>
|
2021-06-13 13:23:56 +02:00
|
|
|
</div>
|
2022-04-11 17:50:23 +02:00
|
|
|
</form>
|
2021-06-13 13:23:56 +02:00
|
|
|
</div>
|
2021-05-30 17:44:10 +02:00
|
|
|
</div>
|
2022-04-11 17:50:23 +02:00
|
|
|
</div>
|
2021-05-30 17:44:10 +02:00
|
|
|
{% endblock %}
|