templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% trans_default_domain easyadmin_config('translation_domain') %}
  2. {% extends easyadmin_config('design.templates.layout') %}
  3. {% block body_class 'page-login' %}
  4. {% block wrapper_wrapper %}
  5.     <div class="login-wrapper">
  6.         <header class="main-header mb-4">
  7.             <div id="header-logo">
  8.                 {% block header_logo %}
  9.                     <a class="logo {{ easyadmin_config('site_name')|length > 14 ? 'logo-long' }}" title="{{ easyadmin_config('site_name')|striptags }}" href="{{ path('easyadmin') }}">
  10.                         <img src="{{ asset('assets/img/logo-top.png') }}" alt="">
  11.                     </a>
  12.                 {% endblock header_logo %}
  13.             </div>
  14.         </header>
  15.     
  16.         {% for flash_error in app.flashes('reset_password_error') %}
  17.             <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  18.         {% endfor %}
  19.         <section class="content">
  20.             <h2>{{ 'reset_password.title_cab'|trans }}</h2>
  21.             {{ form_start(requestForm) }}
  22.                 <div class="form-group">
  23.                     {{ form_row(requestForm.email) }}
  24.                 </div>
  25.                 <div class="form-group">
  26.                     <small>
  27.                         {{ 'reset_password.text_indications'|trans }}
  28.                     </small>
  29.                 </div>
  30.                 <div class="form-group">
  31.                     <button class="btn btn-primary btn-lg">{{ 'reset_password.text_button'|trans }}</button>
  32.                 </div>
  33.                 <div class="form-group">
  34.                     <a class="btn btn-secondary" href="{{ path('app_login') }}">{{ 'reset_password.return_login'|trans }}</a>
  35.                 </div>
  36.             {{ form_end(requestForm) }}
  37.         </section>
  38.     </div>
  39. {% endblock %}