64 lines
2.9 KiB
Twig
Executable File
64 lines
2.9 KiB
Twig
Executable File
{% extends '::default/index.html.twig' %}
|
|
{% trans_default_domain 'FOSUserBundle' %}
|
|
{% block title %}Caisse{% endblock %}
|
|
|
|
{% block bigMain %}
|
|
{% include 'default/header.html.twig' %}
|
|
<section class="bg-girl padded">
|
|
<div class="container">
|
|
<div class="row justify-content-md-center align-items-center">
|
|
<div class="col-md-auto">
|
|
<fieldset class="bg-shader pull-left form-group padded">
|
|
|
|
{#<div class="row">#}
|
|
{#<div class="col-xs-6">#}
|
|
{#<h1>#}
|
|
{#<i class="fa fa-key"></i>#}
|
|
{#Se connecter#}
|
|
{#</h1>#}
|
|
{#{% if error is defined %}#}
|
|
{#<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>#}
|
|
{#{% endif %}#}
|
|
|
|
{#<form action="{{ path("fos_user_security_check") }}" method="post">#}
|
|
{#{% if csrf_token is defined %}#}
|
|
{#<input type="hidden" name="_csrf_token" value="{{ csrf_token }}"/>#}
|
|
{#{% endif %}#}
|
|
|
|
{#<label for="username">{{ 'security.login.username'|trans }}</label>#}
|
|
{#<input type="text" id="username" name="_username" value=""#}
|
|
{#required="required"#}
|
|
{#autocomplete="username"/>#}
|
|
|
|
{#<label for="password">{{ 'security.login.password'|trans }}</label>#}
|
|
{#<input type="password" id="password" name="_password" required="required"#}
|
|
{#autocomplete="current-password"/>#}
|
|
|
|
{#<input type="checkbox" id="remember_me" name="_remember_me" value="on"/>#}
|
|
{#<label for="remember_me">{{ 'security.login.remember_me'|trans }}</label>#}
|
|
|
|
{#<input type="submit" id="_submit" name="_submit"#}
|
|
{#value="{{ 'security.login.submit'|trans }}"/>#}
|
|
{#</form>#}
|
|
|
|
{#</div>#}
|
|
{#<div class="col-xs-6">#}
|
|
{#<p>#}
|
|
|
|
{#<a class="btn btn-info" href="{{ path('fos_user_resetting_request') }}">#}
|
|
{#Mot de passe oublié?#}
|
|
{#</a>#}
|
|
{#</p>#}
|
|
{#</div>#}
|
|
{#</div>#}
|
|
|
|
{% block fos_user_content %}{% endblock %}
|
|
</fieldset>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{% include 'default/footer.html.twig' %}
|
|
{% endblock %}
|