This commit is contained in:
Charles 2025-11-04 11:16:42 +01:00
parent 7db986468c
commit f6ce0e6229
1 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
{% block body %}
<div class="col col-sm-10 col-md-7 col-lg-4 col-xl-3 col-xxl-3 shadow rounded px-4 py-3">
<form method="post" class='d-flex flex-column'>
<img src="{{ aws_url }}application/LogoSolution.png" class="img-fluid rounded-top m-auto" alt="Logo-application" />
<img src="{{ asset('img/logo-'~application~'.png') }}" class="img-fluid rounded-top m-auto" alt="Logo-application" />
{% if error %}
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
@ -13,8 +13,8 @@
<input type="email" value="{{ last_username }}" name="_username" id="username" class="form-control mb-2" autocomplete="email" required autofocus>
<label class="form-label" for="password">Password</label>
<input type="password" name="_password" id="password" class="form-control" autocomplete="current-password" required {{ stimulus_controller('symfony/ux-toggle-password/toggle-password', {
visibleLabel: 'Show',
hiddenLabel: 'Hide',
visibleLabel: 'Voir',
hiddenLabel: 'Cacher',
buttonClasses: ['toggle-password'],}) }}>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
@ -29,7 +29,7 @@
</div>
#}
<div class="mt-3 mx-auto ">
<button class="btn btn-primary" type="submit">Sign in</button>
<button class="btn btn-primary" type="submit">Connexion</button>
</div>
</form>
</div>