aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/UserBundle/Resources/views/themes/baggy/Registration/register_content.html.twig17
-rw-r--r--src/Wallabag/UserBundle/Resources/views/themes/material/Registration/register_content.html.twig17
2 files changed, 16 insertions, 18 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
index f1f899d2..41f94006 100644
--- 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
@@ -1,6 +1,5 @@
1{% trans_default_domain 'FOSUserBundle' %} 1{% trans_default_domain 'FOSUserBundle' %}
2 2
3{{ form_errors(form) }}
4{{ form_widget(form._token) }} 3{{ form_widget(form._token) }}
5 4
6{% for flashMessage in app.session.flashbag.get('notice') %} 5{% for flashMessage in app.session.flashbag.get('notice') %}
@@ -9,26 +8,26 @@
9 8
10<div class="row"> 9<div class="row">
11 {{ form_errors(form.email) }} 10 {{ form_errors(form.email) }}
12 <label for="fos_user_registration_form_email">{% trans %}Email{% endtrans %}</label> 11 {{ form_label(form.email) }}
13 <input type="text" id="fos_user_registration_form_email" name="fos_user_registration_form[email]" /> 12 {{ form_widget(form.email) }}
14</div> 13</div>
15 14
16<div class="row"> 15<div class="row">
17 {{ form_errors(form.username) }} 16 {{ form_errors(form.username) }}
18 <label for="fos_user_registration_form_username">{% trans %}Username{% endtrans %}</label> 17 {{ form_label(form.username) }}
19 <input type="text" id="fos_user_registration_form_username" name="fos_user_registration_form[username]" /> 18 {{ form_widget(form.username) }}
20</div> 19</div>
21 20
22<div class="row"> 21<div class="row">
23 {{ form_errors(form.plainPassword.first) }} 22 {{ form_errors(form.plainPassword.first) }}
24 <label for="fos_user_registration_form_plainPassword_first">{% trans %}Password{% endtrans %}</label> 23 {{ form_label(form.plainPassword.first) }}
25 <input type="password" id="fos_user_registration_form_plainPassword_first" name="fos_user_registration_form[plainPassword][first]" /> 24 {{ form_widget(form.plainPassword.first) }}
26</div> 25</div>
27 26
28<div class="row"> 27<div class="row">
29 {{ form_errors(form.plainPassword.second) }} 28 {{ form_errors(form.plainPassword.second) }}
30 <label for="fos_user_registration_form_plainPassword_second">{% trans %}Repeat password{% endtrans %}</label> 29 {{ form_label(form.plainPassword.second) }}
31 <input type="password" id="fos_user_registration_form_plainPassword_second" name="fos_user_registration_form[plainPassword][second]" /> 30 {{ form_widget(form.plainPassword.second) }}
32</div> 31</div>
33 32
34 33
diff --git a/src/Wallabag/UserBundle/Resources/views/themes/material/Registration/register_content.html.twig b/src/Wallabag/UserBundle/Resources/views/themes/material/Registration/register_content.html.twig
index b356f58c..865a24ae 100644
--- a/src/Wallabag/UserBundle/Resources/views/themes/material/Registration/register_content.html.twig
+++ b/src/Wallabag/UserBundle/Resources/views/themes/material/Registration/register_content.html.twig
@@ -4,7 +4,6 @@
4 <div class="card-content"> 4 <div class="card-content">
5 <div class="row"> 5 <div class="row">
6 6
7 {{ form_errors(form) }}
8 {{ form_widget(form._token) }} 7 {{ form_widget(form._token) }}
9 8
10 {% for flashMessage in app.session.flashbag.get('notice') %} 9 {% for flashMessage in app.session.flashbag.get('notice') %}
@@ -13,26 +12,26 @@
13 12
14 <div class="input-field col s12"> 13 <div class="input-field col s12">
15 {{ form_errors(form.email) }} 14 {{ form_errors(form.email) }}
16 <label for="fos_user_registration_form_email">{% trans %}Email{% endtrans %}</label> 15 {{ form_label(form.email) }}
17 <input type="text" id="fos_user_registration_form_email" name="fos_user_registration_form[email]" /> 16 {{ form_widget(form.email) }}
18 </div> 17 </div>
19 18
20 <div class="input-field col s12"> 19 <div class="input-field col s12">
21 {{ form_errors(form.username) }} 20 {{ form_errors(form.username) }}
22 <label for="fos_user_registration_form_username">{% trans %}Username{% endtrans %}</label> 21 {{ form_label(form.username) }}
23 <input type="text" id="fos_user_registration_form_username" name="fos_user_registration_form[username]" /> 22 {{ form_widget(form.username) }}
24 </div> 23 </div>
25 24
26 <div class="input-field col s12"> 25 <div class="input-field col s12">
27 {{ form_errors(form.plainPassword.first) }} 26 {{ form_errors(form.plainPassword.first) }}
28 <label for="fos_user_registration_form_plainPassword_first">{% trans %}Password{% endtrans %}</label> 27 {{ form_label(form.plainPassword.first) }}
29 <input type="password" id="fos_user_registration_form_plainPassword_first" name="fos_user_registration_form[plainPassword][first]" /> 28 {{ form_widget(form.plainPassword.first) }}
30 </div> 29 </div>
31 30
32 <div class="input-field col s12"> 31 <div class="input-field col s12">
33 {{ form_errors(form.plainPassword.second) }} 32 {{ form_errors(form.plainPassword.second) }}
34 <label for="fos_user_registration_form_plainPassword_second">{% trans %}Repeat password{% endtrans %}</label> 33 {{ form_label(form.plainPassword.second) }}
35 <input type="password" id="fos_user_registration_form_plainPassword_second" name="fos_user_registration_form[plainPassword][second]" /> 34 {{ form_widget(form.plainPassword.second) }}
36 </div> 35 </div>
37 </div> 36 </div>
38 </div> 37 </div>