vendor/pimcore/portal-engine/src/Resources/views/auth/recover_password.html.twig line 1

Open in your IDE?
  1. {# @var \Pimcore\Bundle\PortalEngineBundle\Model\View\Notification|null notification #}
  2. {% extends "@PimcorePortalEngine/layout/login.html.twig" %}
  3. {% block navbar %}
  4. {% endblock %}
  5. {% block footer %}
  6. {% endblock %}
  7. {% block content %}
  8.     <div class="login">
  9.         {% block login_background %}
  10.             <div class="login__bg" style="background-image: url('{{ portalEngine_images_background() }}')"></div>
  11.         {% endblock %}
  12.         {% block login_content %}
  13.             <div class="login__content">
  14.                 {% block logo %}
  15.                     <img class="img-fluid" src="{{ portalEngine_images_logo(constant('Pimcore\\Bundle\\PortalEngineBundle\\Enum\\ImageThumbnails::LOGO')) }}">
  16.                 {% endblock %}
  17.                 <div class="mt-5">
  18.                     {{ form_start(recoverPasswordForm, {attr:{class:'', action: path('pimcore_portalengine_auth_recover_password')}}) }}
  19.                     {% block headline %}
  20.                         <h1 class="login__content__title mb-4">{{ "portal-engine.auth.recover-password-form.headline"|trans }}</h1>
  21.                     {% endblock %}
  22.                     {% block error_message %}
  23.                         {% if(notification) %}
  24.                             <div class="alert alert-{{ notification.htmlClass }}">{{ notification.message }}</div>
  25.                         {% endif %}
  26.                     {% endblock %}
  27.                     {% block form_content %}
  28.                         <div class="form-group">
  29.                             {{ form_row(recoverPasswordForm.userIdentifier, {attr: {class: "form-control form-control--dark"}}) }}
  30.                         </div>
  31.                         <div class="form-group mt-2">
  32.                             {{ form_row(recoverPasswordForm.submit, {'attr': {'class': 'btn btn-block btn-primary text-uppercase'}}) }}
  33.                         </div>
  34.                         {{ form_end(recoverPasswordForm) }}
  35.                     {% endblock %}
  36.                     {% block back_to_login %}
  37.                         <a href="{{ path('pimcore_portalengine_auth_login') }}">{{ 'portal-engine.auth.back-to-login'|trans}}</a>
  38.                     {% endblock %}
  39.                 </div>
  40.             </div>
  41.         {% endblock %}
  42.     </div>
  43. {% endblock %}