templates/pre_registration/index.html.twig line 1

Open in your IDE?
  1. {% extends 'online.html.twig' %}
  2. {% block title %}Pré-inscription | {{ parent() }}{% endblock %}
  3. {% block body %}
  4.     <div class="breadcrumb">
  5.         <h1 class="mr-2">{{ app_name }}</h1>
  6.         <ul>
  7.             <li><a href="{{ path('pre_registration') }}">Pré-inscription</a></li>
  8.             <li>Choisissez un Etablissement</li>
  9.         </ul>
  10.     </div>
  11.     <div class="separator-breadcrumb border-top"></div>
  12.     <div class="row">
  13.         <div class="col-md-12">
  14.             <div class="card o-hidden mb-4">
  15.                 <div class="card-header d-flex align-items-center border-0">
  16.                     <h3 class="w-50 float-left card-title m-0">Nos Etablissements</h3>
  17.                 </div>
  18.                 <div>
  19.                     <div class="table-responsive">
  20.                         <table class="table text-center" id="user_table">
  21.                             <thead>
  22.                                 <tr>
  23.                                     <th scope="col">#</th>
  24.                                     <th scope="col">Nom</th>
  25.                                     <th scope="col">Type</th>
  26.                                     <th scope="col">Action</th>
  27.                                 </tr>
  28.                             </thead>
  29.                             <tbody>
  30.                                 {% for establishment in establishments %}
  31.                                     <tr>
  32.                                         <th scope="row">{{ establishment.code }}</th>
  33.                                         <td>{{ establishment.name }}</td>
  34.                                         <td>{{ establishment.type }}</td>
  35.                                         <td width="5%">
  36.                                             <a class="btn btn-success" href="{{ path('pre_registration_verification', {'id': establishment.id})}}">Se pré-inscrire</a>
  37.                                         </td>
  38.                                     </tr>
  39.                                 {% endfor %}
  40.                             </tbody>
  41.                         </table>
  42.                     </div>
  43.                 </div>
  44.             </div>
  45.         </div>
  46.     </div>
  47.     {# <div class="row mb-4">
  48.         <div class="col-md-12 mb-4">
  49.             <div class="card text-left">
  50.                 <div class="card-header">Pré-inscription</div>
  51.                 <div class="card-body">
  52.                     {{ include('pre_registration/_form.html.twig') }}
  53.                 </div>
  54.             </div>
  55.         </div>
  56.     </div> #}
  57. {% endblock %}