1 {% extends '@RapsysAir/base.html.twig' %}
5 <h2><a href="{{ app.request.requesturi }}">{{ title.page }}</a></h2>
9 {% if edit.mail is defined %}
10 {{ form_row(edit.mail) }}
13 {% if edit.civility is defined %}
14 {{ form_row(edit.civility) }}
17 {% if edit.forename is defined %}
18 {{ form_row(edit.forename) }}
21 {% if edit.surname is defined %}
22 {{ form_row(edit.surname) }}
25 {% if edit.pseudonym is defined %}
26 {{ form_row(edit.pseudonym) }}
29 {% if edit.zipcode is defined %}
30 {{ form_row(edit.zipcode) }}
33 {% if edit.city is defined %}
34 {{ form_row(edit.city) }}
37 {% if edit.country is defined %}
38 {{ form_row(edit.country) }}
41 {% if edit.phone is defined %}
42 {{ form_row(edit.phone) }}
45 {% if edit.dances is defined %}
46 {{ form_row(edit.dances) }}
49 {% if edit.subscriptions is defined %}
50 {{ form_row(edit.subscriptions) }}
53 {{ form_row(edit.submit) }}
56 {# Render CSRF token etc .#}
57 <footer style="display:none">{{ form_rest(edit) }}</footer>
60 {% if reset is defined %}
63 <h2><a href="{{ app.request.requesturi }}">{{ password }}</a></h2>
65 {{ form_start(reset) }}
67 {% if reset.password is defined %}
68 {{ form_row(reset.password.first) }}
70 {{ form_row(reset.password.second) }}
73 {{ form_row(reset.submit) }}
76 {# Render CSRF token etc .#}
77 <footer style="display:none">{{ form_rest(reset) }}</footer>
81 {% if calendar is defined %}
84 <h2><a href="{{ app.request.requesturi }}">{% trans %}Calendar{% endtrans %}</a></h2>
86 {% if calendar.link is defined %}
89 <h3>{% trans %}Add{% endtrans %}</h3>
92 <a class="center" href="{{ calendar.link }}"><img src="{{ asset(calendar.logo.svg) }}?20221024100144" srcset="{{ asset(calendar.logo.png) }}?20221024100144 200w, {{ asset(calendar.logo.svg) }}?20221024100144 400w" sizes="(min-width:400px) 400px, 200px" alt="{% trans %}Google Calendar logo{% endtrans %}" width="50" height="50" /><span>{% trans %}Link a Google Calendar account{% endtrans %}</span></a>
96 {% if calendar.form is defined %}
97 {% for mail, form in calendar.form %}
100 <h3>{{ mail|ucfirst }}</h3>
102 {{ form_start(form) }}
104 {{ form_widget(form.calendar) }}
107 {{ form_widget(form.submit) }}
109 {% if form.refresh is defined %}
110 {{ form_widget(form.refresh) }}
113 {% if form.add is defined %}
114 {{ form_widget(form.add) }}
117 {% if form.delete is defined %}
118 {{ form_widget(form.delete) }}
121 {% if form.unlink is defined %}
122 {{ form_widget(form.unlink) }}
127 {# Render CSRF token etc .#}
128 <footer style="display:none">{{ form_rest(form) }}</footer>
137 <h2><a href="{{ app.request.requesturi }}">{% trans %}Newsletter{% endtrans %}</a></h2>
139 <p class="center"><span>TODO: add newsletter stuff here ?</span></p>