1 {% trans_default_domain 'FOSUserBundle' %}
3 <form action="{{ path('fos_user_resetting_send_email') }}" method="POST" class="fos_user_resetting_request">
4 <div class="card-content">
6 <p>{{ 'security.resetting.description'|trans({}, "messages") }}</p>
8 {% for flashMessage in app.session.flashbag.get('notice') %}
9 <span class="black-text"><p>{{ flashMessage }}</p></span>
12 {% if invalid_username is defined %}
13 <p>{{ 'resetting.request.invalid_username'|trans({'%username%': invalid_username}) }}</p>
16 <div class="input-field col s12">
17 <label for="username">{{ 'resetting.request.username'|trans }}</label>
18 <input type="text" id="username" name="username" required="required" />
22 <div class="card-action center">
23 <a href="{{ path('fos_user_security_login') }}" class="waves-effect waves-light grey btn">
24 <i class="material-icons left"></i> {{ 'security.login.submit'|trans({}, "messages") }}
26 <button class="btn waves-effect waves-light" type="submit" name="send">
27 {{ 'resetting.request.submit'|trans }}