{# {% extends 'login/login.html.twig' %}{% block title %}Réinitialisez votre mot de passe{% endblock %}{% block fos_user_content %} {% for flash_error in app.flashes('reset_password_error') %} <div class="alert alert-danger" role="alert">{{ flash_error }}</div> {% endfor %} <h1>Reset your password</h1> {{ form_start(requestForm) }} {{ form_row(requestForm.email) }} <div> <small> Enter your email address and we will send you a link to reset your password. </small> </div> <button class="btn btn-primary">Send password reset email</button> {{ form_end(requestForm) }}{% endblock %} #}{% extends 'login/login.html.twig' %}{% block title %}Réinitialisez votre mot de passe{% endblock %}{% block fos_user_content %} <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " style="background: #21264B;padding-top: 30px;padding-bottom: 30px;"> {% for flash_error in app.flashes('reset_password_error') %} <div class="alert alert-danger" role="alert">{{ flash_error }}</div> {% endfor %} <div class="no-padding"> {{ form_start(requestForm, { 'attr' : { 'class': 'smart-form client-form' } } ) }} <header style="color: #0098FF;font-weight: bold;font-size: 16px;text-align: justify; background: #21264B;"> Renseignez votre adresse email </header> <fieldset style="background: #21264B;margin-top: -21px;"> <section > <label class="input"> <i style="border-left-width: 0px;margin-top: 7px;" class="icon-append fa fa-user"></i> {{ form_widget(requestForm.email, {'attr':{'style':'height: 45px;border-radius: 5px;'}}) }} </label> </section> </fieldset > <footer style="background: #21264B"> <input style="background: #0098FF; margin-top: -7px;width: 100%;height: 45px;border-radius: 5px;margin-bottom:12px" type="submit" class="btn btn-primary" value="Réinitialisez mot de passe" /> <div class="note"><br> <a style="color: #0098FF;" href="{{ path("login") }}">Se connecter</a> </div> </footer> {{ form_end(requestForm) }} </div> </div>{% endblock %}{# <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " style="background: #21264B;padding-top: 30px;padding-bottom: 30px;"> {% if error %} <div>{{ error.messageKey|trans(error.messageData, 'security') }}</div> {% endif %} <div class="no-padding"> {{ form_start(requestForm) }} <header style="color: #0098FF;font-weight: bold;font-size: 16px;text-align: justify; background: #21264B;"> Réinitialisez votre mot de passe </header> <fieldset style="background: #21264B;margin-top: -21px;"> <section > <label class="input"> <i style="border-left-width: 0px;margin-top: 7px;" class="icon-append fa fa-user"></i> <input style ="height: 45px;border-radius: 5px;" type="email" id="reset_password_request_form_email" name="reset_password_request_form_email" required="required" /> </label> </section> </fieldset > <footer style="background: #21264B"> <input style="background: #0098FF; margin-top: -7px;width: 100%;height: 45px;border-radius: 5px;margin-bottom:12px" type="submit" class="btn btn-primary" value="Réinitialisez mot de passe" /> <div class="note"><br> <a style="color: #0098FF;" href="{{ path("login") }}">Se connecter</a> </div> </footer> {{ form_end(requestForm) }} </div> </div> #}