templates/administration/security/recovery.html.twig line 1

Open in your IDE?
  1. {% extends 'authlayout.html.twig' %}
  2. {% block auth_message %}
  3.     <h3>{{ 'auth.recovery.recovery_password'|trans }}</h3>
  4. {% endblock %}
  5. {% block form_content %}
  6.     <div id="recovery_error"></div>
  7.     <form class="m-t recoverscreen-form" role="form" method="post">
  8.         <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" >
  9.         <div class="form-group">
  10.             <input type="email" class="form-control" id="username" name="_username" value=""
  11.                    placeholder="{{ 'auth.username'|trans }}" required=""/>
  12.         </div>
  13.         <button type="submit" class="btn btn-info block full-width m-b">{{ 'default.send'|trans }}</button>
  14.     </form>
  15.     <a href="{{ path('login') }}">{{ 'default.back'|trans }}</a>
  16. {% endblock %}
  17. {% block footer_javascript %}
  18.     {{ parent() }}
  19.     <script src="{{ asset('bundles/app/admin/js/recover_password.js') }}"></script>
  20.     <script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}"></script>
  21.     <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
  22.     <script src="{{ asset('bundles/bazingajstranslation/js/translator.min.js') }}"></script>
  23.     <script src="{{ url('bazinga_jstranslation_js', { 'locales': app.request.locale|split('_')[0] } ) }}"></script>
  24. {%  endblock %}