1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
6 <h2><a href="{{ app.request.requesturi }}">{{ title }}</a></h2>
10 {% if edit.mail is defined %}
11 {{ form_row(edit.mail) }}
14 {% if edit.civility is defined %}
15 {{ form_row(edit.civility) }}
18 {% if edit.forename is defined %}
19 {{ form_row(edit.forename) }}
22 {% if edit.surname is defined %}
23 {{ form_row(edit.surname) }}
26 {% if edit.pseudonym is defined %}
27 {{ form_row(edit.pseudonym) }}
30 {% if edit.zipcode is defined %}
31 {{ form_row(edit.zipcode) }}
34 {% if edit.city is defined %}
35 {{ form_row(edit.city) }}
38 {% if edit.country is defined %}
39 {{ form_row(edit.country) }}
42 {% if edit.phone is defined %}
43 {{ form_row(edit.phone) }}
46 {% if edit.dances is defined %}
47 {{ form_row(edit.dances) }}
50 {% if edit.subscriptions is defined %}
51 {{ form_row(edit.subscriptions) }}
54 {{ form_row(edit.submit) }}
57 {# Render CSRF token etc .#}
58 <footer style="display:none">{{ form_rest(edit) }}</footer>
61 {% if reset is defined %}
64 <h2><a href="{{ app.request.requesturi }}">{{ password }}</a></h2>
66 {{ form_start(reset) }}
68 {% if reset.password is defined %}
69 {{ form_row(reset.password.first) }}
71 {{ form_row(reset.password.second) }}
74 {{ form_row(reset.submit) }}
77 {# Render CSRF token etc .#}
78 <footer style="display:none">{{ form_rest(reset) }}</footer>
82 {% if calendar is defined %}
85 <h2><a href="{{ app.request.requesturi }}">{% trans %}Calendar{% endtrans %}</a></h2>
87 {% if calendar.link is defined %}
90 <h3>{% trans %}Add{% endtrans %}</h3>
93 <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>
97 {% if calendar.form is defined %}
98 {% for mail, form in calendar.form %}
101 <h3>{{ mail|ucfirst }}</h3>
103 {{ form_start(form) }}
105 {{ form_widget(form.calendar) }}
108 {{ form_widget(form.submit) }}
110 {% if form.refresh is defined %}
111 {{ form_widget(form.refresh) }}
114 {% if form.add is defined %}
115 {{ form_widget(form.add) }}
118 {% if form.delete is defined %}
119 {{ form_widget(form.delete) }}
122 {% if form.unlink is defined %}
123 {{ form_widget(form.unlink) }}
128 {# Render CSRF token etc .#}
129 <footer style="display:none">{{ form_rest(form) }}</footer>
138 <h2><a href="{{ app.request.requesturi }}">{% trans %}Newsletter{% endtrans %}</a></h2>
140 <p class="center"><span>TODO: add newsletter stuff here ?</span></p>