templates/authentication/request.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block bodycont %}
  3.     <div class="container-fluid bg-dark-gray h-100 bg-image">
  4.         <div class="row h-100 flex-column flex-md-row align-items-center">
  5.             <div class="col"></div>
  6.             <div class="col-sm-6">
  7.                 <div class="card bg-dark text-white bg-gradient">
  8.                     <div class="card-body">
  9.                         <!-- Page Header -->
  10.                         <div class="border-bottom flex-grow-0">
  11.                             <!-- Page Named and action buttons -->
  12.                             <div class="row mb-3 justify-content-between">
  13.                                 <div class="col d-flex align-items-center">
  14.                                     <h3 class="mb-0">Reset {{ entity_name | render_title | plural_title }} password</h3>
  15.                                 </div>
  16.                                 <div class="col-auto d-flex align-items-center">
  17.                                     <button id="form_save" title="Save New {{ entity_name | render_title | plural_title }}" class="btn bg-gradient btn-success ms-3">
  18.                                         <i class="fas fa-save"></i><span>Save</span>
  19.                                     </button>
  20.                                     <a title="Cancel" href="{{ path(path_prefix ~ '_' ~ path_entity_name ~ '_authenticate') }}" class="btn bg-gradient btn-secondary ms-3">
  21.                                         <i class="fas fa-undo"></i><span>Back</span>
  22.                                     </a>
  23.                                 </div>
  24.                             </div>
  25.                         </div>
  26.                         <section class="flex-grow-1 position-relative">
  27.                             <div class="w-100 h-100">
  28.                                 {% for type, flash_messages in app.session.flashBag.all %}
  29.                                     {% for flash_message in flash_messages %}
  30.                                         <div class="alert alert-{{ type }} alert-dismissible fade show mt-3 mb-0" role="alert">
  31.                                             {{ flash_message }}
  32.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  33.                                         </div>
  34.                                     {% endfor %}
  35.                                 {% endfor %}
  36.                                 {% include 'common/form.html.twig' with {'form': form, 'prototype_request_url': prototype_request_url, 'disable_multi_entity': true} %}
  37.                             </div>
  38.                         </section>
  39.                     </div>
  40.                 </div>
  41.             </div>
  42.             <div class="col"></div>
  43.         </div>
  44.     </div>
  45. {% endblock %}
  46. {% block javascripts %}
  47.     {{ parent() }}
  48.     {{ encore_entry_script_tags('form') }}
  49. {% endblock %}