X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/653cfc153b29c84533b00d29a92510339c6358ca..80faa3fca0310d308f1f4979996e6be667bd8138:/Resources/views/location/index.html.twig diff --git a/Resources/views/location/index.html.twig b/Resources/views/location/index.html.twig new file mode 100644 index 0000000..5863c76 --- /dev/null +++ b/Resources/views/location/index.html.twig @@ -0,0 +1,58 @@ +{% extends '@RapsysAir/body.html.twig' %} +{% block content %} +
+TODO: +

{% trans %}Dashboard{% endtrans %}

+
+ {% if calendar is defined and calendar %} + + + + {% for date, day in calendar %} + + {% if loop.index % 7 == 0 and not loop.last %} + + + {% endif %} + {% endfor %} + + +
+

{{ day.title }}

+ {% if day.sessions is not empty %} + + {% endif %} +
+ {% endif %} +
+ {{ form_start(form) }} + +
{{ form_errors(form) }}
+ +
+ {{ form_row(form.location) }} + + {{ form_row(form.date) }} + + {{ form_row(form.slot) }} +
+ + {{ form_row(form.submit) }} + + {# Render CSRF token etc .#} + + + {{ form_end(form) }} +
+
+ {# dump(calendar) #} +
+{% endblock %}