1 {% extends "FOSUserBundle::layout.html.twig" %}
3 {% block title %}{{ parent() }}request{% endblock %}
5 {% block fos_user_content %}
6 {% trans_default_domain 'FOSUserBundle' %}
8 <form action="{{ path('fos_user_resetting_send_email') }}" method="post" class="fos_user_resetting_request form-horizontal">
9 <div class="form-group">
10 {% if invalid_username is defined %}
11 <p class="red center-txt">{{ 'resetting.request.invalid_username'|trans({'%username%': invalid_username}) }}</p>
13 <label for="username" class="col-sm-2 control-label">{{ 'resetting.request.username'|trans }}</label>
14 <div class="col-sm-8">
15 <input class="form-control" type="text" id="username" name="username" required="required" />
18 <div class="form-group">
19 <div class="col-sm-8 col-sm-offset-2">
20 <button type="submit" class="btn btn-primary">{{ 'resetting.request.submit'|trans }}</button>
25 {% endblock fos_user_content %}