caisse-bliss/app/Resources/FOSUserBundle/views/layout.html.twig

64 lines
2.9 KiB
Twig
Raw Normal View History

2018-04-04 16:25:25 +02:00
{% extends '::default/index.html.twig' %}
2018-05-04 17:04:13 +02:00
{% trans_default_domain 'FOSUserBundle' %}
2018-04-04 18:33:16 +02:00
{% block title %}Caisse{% endblock %}
2018-04-04 16:25:25 +02:00
2018-05-04 17:04:13 +02:00
{% 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">
2018-04-04 16:25:25 +02:00
2018-05-04 17:04:13 +02:00
{#<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>#}
2018-04-04 16:25:25 +02:00
2018-05-04 17:04:13 +02:00
{#<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>
2018-04-04 16:25:25 +02:00
</div>
</div>
2018-05-04 17:04:13 +02:00
</section>
{% include 'default/footer.html.twig' %}
2018-04-04 16:25:25 +02:00
{% endblock %}