]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/views/form/edit.html.twig
Fix default bind ciphersuites and options
[blogbundle] / Resources / views / form / edit.html.twig
1 {% extends '@RapsysBlog/_base.html.twig' %}
2 {% block content %}
3 <section class="form">
4 <header>
5 <h2><a href="{{ head.canonical }}">{{ title }}</a></h2>
6 </header>
7 <section>
8 {% if disabled is defined and disabled %}
9 <p class="message error">{% trans %}Your account has been disabled{% endtrans %}</p>
10 {% elseif sent is defined and sent %}
11 <p class="message notice">{% trans %}Your verification mail has been sent, to activate your account follow the confirmation link inside{% endtrans %}</p>
12 <p class="message warning">{% trans %}If you did not receive a verification mail, check your Spam or Junk mail folder{% endtrans %}</p>
13 {% else %}
14 {{ form_start(edit) }}
15 {% if edit.mail is defined %}
16 {{ form_row(edit.mail) }}
17 {% endif %}
18
19 {% if edit.password is defined %}
20 {{ form_row(edit.password) }}
21 {% endif %}
22
23 {% if edit.civility is defined %}
24 {{ form_row(edit.civility) }}
25 {% endif %}
26
27 {% if edit.forename is defined %}
28 {{ form_row(edit.forename) }}
29 {% endif %}
30
31 {% if edit.surname is defined %}
32 {{ form_row(edit.surname) }}
33 {% endif %}
34
35 {% if edit.pseudonym is defined %}
36 {{ form_row(edit.pseudonym) }}
37 {% endif %}
38
39 {% if edit.slug is defined %}
40 {{ form_row(edit.slug) }}
41 {% endif %}
42
43 {% if edit.active is defined %}
44 {{ form_row(edit.active) }}
45 {% endif %}
46
47 {% if edit.enable is defined %}
48 {{ form_row(edit.enable) }}
49 {% endif %}
50
51 {{ form_row(edit.submit) }}
52
53 {# Render CSRF token etc .#}
54 <footer style="display:none">{{ form_rest(edit) }}</footer>
55 {{ form_end(edit) }}
56 {% endif %}
57 </section>
58 </section>
59 {% if reset is defined %}
60 <section class="form">
61 <header>
62 <h2><a href="{{ head.canonical }}">{{ password }}</a></h2>
63 </header>
64 <section>
65 {{ form_start(reset) }}
66 {% if reset.password is defined %}
67 {{ form_row(reset.password) }}
68 {% endif %}
69
70 {{ form_row(reset.submit) }}
71
72 {# Render CSRF token etc .#}
73 <footer style="display:none">{{ form_rest(reset) }}</footer>
74 {{ form_end(reset) }}
75 </section>
76 </section>
77 {% endif %}
78 {% endblock %}