]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/session/index.html.twig
Add default values to class member variables
[airbundle] / Resources / views / session / index.html.twig
index 9317b4cf8ee1ea006dba7eaa28d8db651acf4569..9c478790110ab01c2d0f418bc0357870ef992f06 100644 (file)
@@ -1,8 +1,8 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
 {% block content %}
-       <article id="dashboard">
+       <article>
                <header>
                <header>
-                       <h2><a href="{{ path('rapsys_air_session') }}">{{ title }}</a></h2>
+                       <h2>{{ title.page }}</h2>
                        <p>{{ description }}</p>
                </header>
                <div class="panel">
                        <p>{{ description }}</p>
                </header>
                <div class="panel">
@@ -10,7 +10,9 @@
                                <div class="grid calendar seven">
                                        {% for date, day in calendar %}
                                                <section class="{{ day.class|join(' ') }}">
                                <div class="grid calendar seven">
                                        {% for date, day in calendar %}
                                                <section class="{{ day.class|join(' ') }}">
-                                                       <h3>{{ day.title }}</h3>
+                                                       <header>
+                                                               <h3>{{ day.title }}</h3>
+                                                       </header>
                                                        {% if day.sessions is not empty %}
                                                                <ul>
                                                                        {% for session in day.sessions %}
                                                        {% if day.sessions is not empty %}
                                                                <ul>
                                                                        {% for session in day.sessions %}