]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/session/edit.html.twig
Set location, dance and user as optional in session view route
[airbundle] / 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">
 {% 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 %}
                {% 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 %}