templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'basic.html.twig' %}
  2. {% block subtitle %}- {{ 'Request password'|trans }}{% endblock %}
  3. {% block body %}
  4.     <div class="row justify-content-center my-auto">
  5.         <div class="col-md-8 col-lg-6 col-xl-4">
  6.             <div class="text-center  py-5">
  7.                 <div class="mb-4 mb-md-5">
  8.                     <a href="index.html" class="d-block auth-logo">
  9.                         <img src="{{ asset('/assets/images/logo.png') }}" />
  10.                     </a>
  11.                 </div>
  12.                 <div class="mb-4">
  13.                     <h5>{{ 'app.welcome_back'|trans }}!</h5>
  14.                 </div>
  15.                 {{ form_start(requestForm) }}
  16.                 {% for flash_error in app.flashes('reset_password_error') %}
  17.                     <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  18.                 {% endfor %}
  19.                     <div class="form-floating form-floating-custom mb-3">
  20.                         {{ form_widget(requestForm.email, {'attr': {'class': 'form-control'}}) }}
  21.                         <label for="input-password">{{ 'Email'|trans }}</label>
  22.                         <div class="form-floating-icon">
  23.                             <i class="uil uil-users-alt"></i>
  24.                         </div>
  25.                     </div>
  26.                     <div class="mt-3">
  27.                         <button class="btn btn-success w-100" type="submit">Passwort zurücksetzen</button>
  28.                     </div>
  29.                 {{ form_end(requestForm) }}
  30.                 <div class="mt-5 text-center text-muted">
  31.                     <p>{{ 'app.no_account'|trans({'%app_name%': 'app.app_name'|trans}) }}?<br>
  32.                         <a href="{{ path('app_register') }}" class="fw-medium text-decoration-underline text-success"> {{ 'app.register_now'|trans }}! </a></p>
  33.                 </div>
  34.             </div>
  35.         </div>
  36.     </div>
  37. {% endblock %}