templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'layout.html.twig' %}
  2. {% block title %}Reset your password{% endblock %}
  3. {% block stylesheets %}
  4.     {{ parent() }}
  5.     <style>
  6.         input:-webkit-autofill,
  7.         input:-webkit-autofill:hover,
  8.         input:-webkit-autofill:focus,
  9.         textarea:-webkit-autofill,
  10.         textarea:-webkit-autofill:hover,
  11.         textarea:-webkit-autofill:focus,
  12.         select:-webkit-autofill,
  13.         select:-webkit-autofill:hover,
  14.         select:-webkit-autofill:focus {
  15.             -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  16.         }
  17.         body {
  18.             background: none !important;
  19.         }
  20.         .form-control:focus {
  21.             border: solid 1px #7796a8;
  22.             outline: none;
  23.             box-shadow: none;
  24.         }
  25.     </style>
  26. {% endblock %}
  27. {% block body %}
  28.     <div class="container-fluid">
  29.         <div class="row mt-0 mt-md-5">
  30.             <div class="col-12 text-center mt-1 pt-3 pb-3" id="order_header">
  31.                 <h4 class="text-primary">Forgot Password</h4>
  32.                 <span class="text-primary">
  33.                     Please enter your email address in the field below and we'll send instructions on
  34.                     how to reset your password to your inbox.
  35.                 </span>
  36.             </div>
  37.         </div>
  38.         <div class="row">
  39.             {% for flashError in app.flashes('reset_password_error') %}
  40.                 <div class="alert alert-danger" role="alert">{{ flashError }}</div>
  41.             {% endfor %}
  42.             <div class="col-12 col-md-4 offset-md-3">
  43.                 {{ form_start(requestForm) }}
  44.                 {{ form_row(requestForm.email) }}
  45.             </div>
  46.             <div class="col-12 col-md-2">
  47.                 <button class="btn btn-primary w-sm-100 w-md-auto my-3 my-md-auto">
  48.                     Reset Password
  49.                 </button>
  50.                 {{ form_end(requestForm) }}
  51.             </div>
  52.         </div>
  53.     </div>
  54. {% endblock %}
  55. {% block javascripts %}
  56.     {{ parent() }}
  57.     <script>
  58.         $(document).ready(function () {
  59.             $('body').addClass('d-flex flex-column h-100');
  60.         });
  61.     </script>
  62. {% endblock %}