templates/Press/passwordForgotten.html.twig line 1

Open in your IDE?
  1. {% extends "Layout/default.html.twig" %}
  2. {% block navigation %}
  3.     {{ include('Press/Includes/pressHeader.html.twig') }}
  4. {% endblock %}
  5. {% block content %}
  6.     {{ include('Navigation/breadcrumb.html.twig') }}
  7.     {{ include('Includes/main-title-block-splitted.html.twig', {
  8.         headline: 'Passwort vergessen',
  9.     }) }}
  10.     <div class="slide bg-dark-bg content-block">
  11.         <div class="container container-narrow">
  12.             {% if success|default('') %}
  13.                 <div class="alert-success p-2">
  14.                     {% if success == 'mail sent' %}
  15.                         {{ 'reset-pw.Mail gesendet'|trans }}
  16.                     {% endif %}
  17.                 </div>
  18.             {% endif %}
  19.             {% if errors|default([]) %}
  20.                 <div class="alert-danger p-2">
  21.                     <ul>
  22.                         {% for error in errors %}
  23.                             <li>{{ ('reset-pw.' ~ error)|trans }}</li>
  24.                         {% endfor %}
  25.                     </ul>
  26.                 </div>
  27.             {% endif %}
  28.             {% if step == 1 %}
  29.                 {{ include('Press/Includes/reset-pw/enter-email-form.html.twig') }}
  30.             {% elseif step == 2 %}
  31.                 {{ include('Press/Includes/reset-pw/enter-pw-form.html.twig') }}
  32.             {% elseif step == 3 %}
  33.                 {{ include('Press/Includes/reset-pw/pw-reset-done.html.twig') }}
  34.             {% endif %}
  35.         </div>
  36.     </div>
  37. {% endblock %}
  38. {% block javascripts %}
  39.     {% if not app.request.get('onlyInlineCss') %}
  40.         {{ include('Layout/includes/encore.html.twig', {
  41.              'staticDebugMode': staticDebugMode,
  42.              'file': 'js/press'
  43.         }) }}
  44.     {% endif %}
  45. {% endblock %}