src/Storefront/Resources/views/storefront/page/account/profile/recover-password.html.twig line 1

  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_content %}
  3.     {% block page_account_profile_recover_password %}
  4.         <div class="account-recover-password row justify-content-md-center">
  5.             {% block page_account_profile_recover_password_inner %}
  6.                 <div class="col-md-8 col-lg-6">
  7.                     {% block page_account_profile_recover_password_form %}
  8.                         <form method="post"
  9.                               class="account-recover-password-form card"
  10.                               action="{{ path('frontend.account.recover.request') }}"
  11.                               data-form-validation="true">
  12.                             {% block page_account_profile_recover_password_title %}
  13.                                 <h1 class="card-title">
  14.                                     {{ 'account.profileRecoverPasswordTitle'|trans }}
  15.                                 </h1>
  16.                             {% endblock %}
  17.                             {% block page_account_profile_recover_password_container %}
  18.                                 <div class="card-body">
  19.                                     {% block page_account_profile_recover_password_info %}
  20.                                         <div class="card-text account-recover-password-info">
  21.                                             {{ 'account.profileRecoverPasswordInfo'|trans }}
  22.                                         </div>
  23.                                     {% endblock %}
  24.                                     {% block page_account_profile_recover_password_mail %}
  25.                                         <div class="form-group">
  26.                                             {% block page_account_profile_recover_password_mail_label %}
  27.                                                 <label class="form-label" for="recoverMail">
  28.                                                     {{ 'account.profileCurrentMail'|trans }}
  29.                                                 </label>
  30.                                             {% endblock %}
  31.                                             {% block page_account_profile_recover_password_mail_input %}
  32.                                                 <input type="email"
  33.                                                        class="form-control{% if formViolations.getViolations('/email') is not empty %} is-invalid{% endif %}"
  34.                                                        autocomplete="section-personal email"
  35.                                                        id="recoverMail"
  36.                                                        name="email[email]"
  37.                                                        placeholder="{{ 'account.profileCurrentMailPlaceholder'|trans }}"
  38.                                                        required="required">
  39.                                             {% endblock %}
  40.                                         </div>
  41.                                     {% endblock %}
  42.                                     {% block page_account_profile_recover_password_actions %}
  43.                                         <div class="account-recover-password-form-actions">
  44.                                             {% block page_account_profile_recover_password_action_back %}
  45.                                                 <a href="{{ seoUrl('frontend.account.login') }}"
  46.                                                    class="account-recover-password-back btn btn-outline-secondary"
  47.                                                    title="{{ 'general.back'|trans }}">
  48.                                                     {{ 'general.back'|trans }}
  49.                                                 </a>
  50.                                             {% endblock %}
  51.                                             {% block page_account_profile_recover_password_action_send %}
  52.                                                 <button type="submit"
  53.                                                         class="account-recover-password-submit btn btn-primary"
  54.                                                         title="{{ 'account.profileRecoverPasswordSubmit'|trans }}">
  55.                                                     {{ 'account.profileRecoverPasswordSubmit'|trans }}
  56.                                                 </button>
  57.                                             {% endblock %}
  58.                                         </div>
  59.                                     {% endblock %}
  60.                                 </div>
  61.                             {% endblock %}
  62.                         </form>
  63.                     {% endblock %}
  64.                 </div>
  65.             {% endblock %}
  66.         </div>
  67.     {% endblock %}
  68. {% endblock %}