templates/login/forgotPassword.html.twig line 1

Open in your IDE?
  1. {% extends "login/loginBase.html.twig" %}
  2. {% block body %}
  3. <!-- [ auth-signin ] start -->
  4. <div class="container-fluid login__background">
  5.     <div class="row">
  6.         <div class="auth-wrapper col-md-4">
  7.             <div class="auth-content card">
  8.                 <div class="align-items-center">
  9.                     <div class="card-body">
  10.                         <div class="text-center">
  11.                             {% if app.session.get("customerAccountDomain") %}
  12.                                 {% set customerAccountDomain = app.session.get("customerAccountDomain") %}
  13.                                 <img src="{{ asset('uploads/customerAccountLogo/logoWebsite/' ~ customerAccountDomain.getWebsiteLogo()) }}" alt="{{ customerAccountDomain.getName() }}" height="80px" class="mb-4">
  14.                             {% else %}
  15.                                 <img src="{{ asset('img/logo/overseas-xpress-logo-horizontal.png') }}" alt="Overseas Xpress" class="logoLogin">
  16.                             {% endif %}
  17.                             <h4 class="mb-3">RESET PASSWORD</h4>
  18.                         </div>
  19.                         {% for message in app.flashes('error') %}<div class="alert alert-danger">{{ message }}</div>{% endfor %}
  20.                         {% for message in app.flashes('success') %}<div class="alert alert-success">{{ message }}</div>{% endfor %}
  21.                         <form method="POST" action="{{ path('forgotPassword') }}">
  22.                             <input type="hidden" name="_token"
  23.                                    value="{{ csrf_token('forgotPassword') }}">
  24.                             <div class="form-group mb-3">
  25.                                 <label class="floating-label" for="email">Email Address</label>
  26.                                 <input id="email" type="email" class="form-control" name="email" value="" required autocomplete="email">
  27.                             </div>
  28.                             <button class="btn btn-block btn-primary mb-4">
  29.                                 Reset Password
  30.                             </button>
  31.                             <a href="{{ path('login') }}" class="reset__password text-muted text-center d-block">Back to
  32.                                 login</a>
  33.                         </form>
  34.                     </div>
  35.                 </div>
  36.             </div>
  37.         </div>
  38.     </div>
  39. </div>
  40.     {% endblock %}