]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/session/edit.html.twig
Add date location index
[airbundle] / Resources / views / session / edit.html.twig
index 7059ed9a2920bbaf2f34159318533180ac7f2e9b..4ec1b679da550361a66e9d6bf56e40d0206cff2d 100644 (file)
@@ -1,10 +1,13 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <section id="form">
 {% 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 %}
                {% 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 %}