aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Resources/views/themes/baggy/Registration/register_content.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/UserBundle/Resources/views/themes/baggy/Registration/register_content.html.twig')
-rw-r--r--src/Wallabag/UserBundle/Resources/views/themes/baggy/Registration/register_content.html.twig38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/Wallabag/UserBundle/Resources/views/themes/baggy/Registration/register_content.html.twig b/src/Wallabag/UserBundle/Resources/views/themes/baggy/Registration/register_content.html.twig
new file mode 100644
index 00000000..f1f899d2
--- /dev/null
+++ b/src/Wallabag/UserBundle/Resources/views/themes/baggy/Registration/register_content.html.twig
@@ -0,0 +1,38 @@
1{% trans_default_domain 'FOSUserBundle' %}
2
3{{ form_errors(form) }}
4{{ form_widget(form._token) }}
5
6{% for flashMessage in app.session.flashbag.get('notice') %}
7 <span><p>{{ flashMessage }}</p></span>
8{% endfor %}
9
10<div class="row">
11 {{ form_errors(form.email) }}
12 <label for="fos_user_registration_form_email">{% trans %}Email{% endtrans %}</label>
13 <input type="text" id="fos_user_registration_form_email" name="fos_user_registration_form[email]" />
14</div>
15
16<div class="row">
17 {{ form_errors(form.username) }}
18 <label for="fos_user_registration_form_username">{% trans %}Username{% endtrans %}</label>
19 <input type="text" id="fos_user_registration_form_username" name="fos_user_registration_form[username]" />
20</div>
21
22<div class="row">
23 {{ form_errors(form.plainPassword.first) }}
24 <label for="fos_user_registration_form_plainPassword_first">{% trans %}Password{% endtrans %}</label>
25 <input type="password" id="fos_user_registration_form_plainPassword_first" name="fos_user_registration_form[plainPassword][first]" />
26</div>
27
28<div class="row">
29 {{ form_errors(form.plainPassword.second) }}
30 <label for="fos_user_registration_form_plainPassword_second">{% trans %}Repeat password{% endtrans %}</label>
31 <input type="password" id="fos_user_registration_form_plainPassword_second" name="fos_user_registration_form[plainPassword][second]" />
32</div>
33
34
35<div class="row mts txtcenter">
36 <button type="submit">{{ 'registration.submit'|trans({}, 'FOSUserBundle') }}</button>
37 <a href="{{ path('fos_user_security_login') }}" class="button">{% trans %}Login{% endtrans %}</a>
38</div>