2015-10-05 20:16:18 +00:00
|
|
|
{% trans_default_domain 'FOSUserBundle' %}
|
2016-03-09 07:59:08 +00:00
|
|
|
|
2015-10-05 20:16:18 +00:00
|
|
|
<form action="{{ path('fos_user_resetting_send_email') }}" method="POST" class="fos_user_resetting_request">
|
|
|
|
<div class="card-content">
|
|
|
|
<div class="row">
|
2016-03-09 07:59:08 +00:00
|
|
|
<p>{{ 'security.resetting.description'|trans({}, "messages") }}</p>
|
|
|
|
|
2022-05-03 21:28:20 +00:00
|
|
|
{% for flash_message in app.session.flashbag.get('notice') %}
|
|
|
|
<span class="black-text"><p>{{ flash_message }}</p></span>
|
2015-10-05 20:16:18 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% if invalid_username is defined %}
|
|
|
|
<p>{{ 'resetting.request.invalid_username'|trans({'%username%': invalid_username}) }}</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="input-field col s12">
|
|
|
|
<label for="username">{{ 'resetting.request.username'|trans }}</label>
|
|
|
|
<input type="text" id="username" name="username" required="required" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-action center">
|
2016-03-09 07:59:08 +00:00
|
|
|
<a href="{{ path('fos_user_security_login') }}" class="waves-effect waves-light grey btn">
|
2016-03-08 16:02:34 +00:00
|
|
|
{{ 'security.login.submit'|trans({}, "messages") }}
|
2016-03-09 07:59:08 +00:00
|
|
|
</a>
|
2015-10-05 20:16:18 +00:00
|
|
|
<button class="btn waves-effect waves-light" type="submit" name="send">
|
|
|
|
{{ 'resetting.request.submit'|trans }}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|