templates/areas/password-reset/view.html.twig line 1

Open in your IDE?
  1. {% block view %}
  2.   <div class="c-loginbox {% if componentMargin is defined %}{{componentMargin}}{% endif %}">
  3.     {# {% if error %}
  4.       <div class="c-login__alert">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  5.     {% endif %} #}
  6.     {% if editmode %}
  7.       Only in Frontend
  8.     {% else %}
  9.       <form action="{{ path('mvk_password_reset_request') }}" method="post" class="js-custom-form">
  10.         <label for="email">{{'mvk_doc_fe_Loginbox_email' | trans }}</label>
  11.         <input type="email" id="email" name="email" required>
  12.         {# If you want to control the URL the user is redirected to on success
  13.         <input type="hidden" name="_target_path" value="/account"> #}
  14.         <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
  15.         <button type="submit">{{'mvk_doc_fe_Loginbox_button_reset' | trans }}</button>
  16.       </form>
  17.     {% endif %}
  18.   </div>
  19. {% endblock %}