| 1 | {% extends "FOSUserBundle::layout.html.twig" %} |
| 2 | |
| 3 | {% block title %}{{ parent() }}request{% endblock %} |
| 4 | |
| 5 | {% block fos_user_content %} |
| 6 | {% trans_default_domain 'FOSUserBundle' %} |
| 7 | |
| 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> |
| 12 | {% endif %} |
| 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" /> |
| 16 | </div> |
| 17 | </div> |
| 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> |
| 21 | </div> |
| 22 | </div> |
| 23 | </form> |
| 24 | |
| 25 | {% endblock fos_user_content %} |