2022-05-03 08:54:45 +02:00
|
|
|
{% extends "base.html.twig" %}
|
|
|
|
{% block stylesheets %}
|
2022-12-13 15:46:24 +01:00
|
|
|
{{parent()}}
|
2022-05-03 08:54:45 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2022-12-09 17:31:07 +01:00
|
|
|
<div class="login-wrapper">
|
|
|
|
<div class="login">
|
|
|
|
{% if app.user %}
|
|
|
|
<div class="mb-3">
|
|
|
|
You are logged in as {{ app.user.login }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2022-12-13 15:46:24 +01:00
|
|
|
<div class="lang">
|
|
|
|
{% for locale in locales %}
|
|
|
|
<a href="{{ path('locale_change', {'locale':locale }) }}" title="{{locale}}" aria-label="{{locale}}" class="flag"><img class="w-10" src="{{ asset('flags/'~ locale ~'.svg') }}"/></a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<h1 class="h3 mb-3 font-weight-normal">{% trans from 'view' %} sign_in {% endtrans %}</h1>
|
|
|
|
{{form_start(loginForm)}}
|
|
|
|
{{form_widget(loginForm)}}
|
2022-12-09 17:31:07 +01:00
|
|
|
<button class="btn btn-lg btn-primary" type="submit">
|
2022-12-13 15:46:24 +01:00
|
|
|
{% trans from 'view' %} submit {% endtrans %}
|
2022-12-09 17:31:07 +01:00
|
|
|
</button>
|
2022-12-13 15:46:24 +01:00
|
|
|
{{form_end(loginForm)}}
|
2022-05-03 15:09:42 +02:00
|
|
|
</div>
|
2022-05-03 08:54:45 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|