]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/session/edit.html.twig
Shorten air bundle route aliases
[airbundle] / Resources / views / session / edit.html.twig
index 7059ed9a2920bbaf2f34159318533180ac7f2e9b..066c03a52824136c60be02c4876d7720d328fbd6 100644 (file)
@@ -1,10 +1,13 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.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('rapsysair_session_view', {'id': session.id}) }}">{{ session.title }}</a>
+                               <a href="{{ path('rapsysair_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 %}