X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/84addc7e57221e36f8b41662bbbd3ef50aeaa0db..3bb7706790b4f955cfbc412ee65c4a620c15d5b0:/Resources/views/form/edit.html.twig?ds=inline diff --git a/Resources/views/form/edit.html.twig b/Resources/views/form/edit.html.twig index 8c6aab9..390ba1f 100644 --- a/Resources/views/form/edit.html.twig +++ b/Resources/views/form/edit.html.twig @@ -43,6 +43,14 @@ {{ form_row(edit.phone) }} {% endif %} + {% if edit.dances is defined %} + {{ form_row(edit.dances) }} + {% endif %} + + {% if edit.subscriptions is defined %} + {{ form_row(edit.subscriptions) }} + {% endif %} + {{ form_row(edit.submit) }} @@ -71,4 +79,64 @@ {{ form_end(reset) }} {% endif %} + {% if calendar is defined %} +
+
+

{% trans %}Calendar{% endtrans %}

+
+ {% if calendar.link is defined %} +
+
+

{% trans %}Add{% endtrans %}

+
+
+ {% trans %}Google Calendar logo{% endtrans %}{% trans %}Link a Google Calendar account{% endtrans %} +
+
+ {% endif %} + {% if calendar.form is defined %} + {% for mail, form in calendar.form %} +
+
+

{{ mail|ucfirst }}

+
+ {{ form_start(form) }} +
+ {{ form_widget(form.calendar) }} + +
+ {{ form_widget(form.submit) }} + + {% if form.refresh is defined %} + {{ form_widget(form.refresh) }} + {% endif %} + + {% if form.add is defined %} + {{ form_widget(form.add) }} + {% endif %} + + {% if form.delete is defined %} + {{ form_widget(form.delete) }} + {% endif %} + + {% if form.unlink is defined %} + {{ form_widget(form.unlink) }} + {% endif %} +
+
+ + {# Render CSRF token etc .#} + + {{ form_end(form) }} +
+ {% endfor %} + {% endif %} +
+ {% endif %} +
+
+

{% trans %}Newsletter{% endtrans %}

+
+

TODO: add newsletter stuff here ?

+
{% endblock %}