--- /dev/null
+{% extends '@RapsysAir/body.html.twig' %}
+{% block content %}
+ <section id="form">
+ <header>
+ <h2><a href="{{ path('rapsys_air_calendar') }}">{{ section }}</a></h2>
+ <p>{{ description }}</p>
+ </header>
+ {% if error is defined %}
+ <p class="message error">{{ error }}</p>
+ {% elseif message is defined %}
+ <p class="message notice">{{ message }}</p>
+ {% endif %}
+ </section>
+{% endblock %}
--- /dev/null
+{% extends '@RapsysAir/body.html.twig' %}
+{% block content %}
+ <section id="form">
+ <header>
+ <h2><a href="{{ path('rapsys_air_calendar') }}">{{ section }}</a></h2>
+ <p>{{ description }}</p>
+ </header>
+ {{ form_start(form) }}
+ <div>
+ {{ form_row(form.calendar) }}
+
+ {{ form_row(form.prefix) }}
+
+ {{ form_row(form.project) }}
+
+ {{ form_row(form.client) }}
+
+ {{ form_row(form.secret) }}
+
+ {{ form_row(form.submit) }}
+ </div>
+
+ {# Render CSRF token etc .#}
+ <footer style="display:none">{{ form_rest(form) }}</footer>
+ {{ form_end(form) }}
+ </section>
+{% endblock %}