]> Raphaël G. Git Repositories - airbundle/commitdiff
New page title and description schema
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:23:47 +0000 (10:23 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:23:47 +0000 (10:23 +0200)
Resources/views/session/edit.html.twig

index 7059ed9a2920bbaf2f34159318533180ac7f2e9b..6a9abfb2891f4ea089a832d01e421322d0511850 100644 (file)
@@ -1,10 +1,13 @@
 {% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
        <section id="form">
-               <h2>
-                       <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}">{{ session.title }}</a>
-                       <a href="{{ path('rapsys_air_location_view', {'id': session.location.id}) }}">{{ session.location.at }}</a>
-               </h2>
+               <header>
+                       <h2>
+                               <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}">{{ session.title }}</a>
+                               <a href="{{ path('rapsys_air_location_view', {'id': session.location.id}) }}">{{ session.location.at }}</a>
+                       </h2>
+                       <p>{{ description }}</p>
+               </header>
                {% if form.modify is defined or form.move is defined or form.cancel is defined or form.raincancel is defined or form.forcecancel is defined or is_granted('ROLE_ADMIN') %}
                        {{ form_start(form) }}
                                {% if form.modify is defined %}