diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-02-17 22:45:20 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-02-17 22:45:20 +0100 |
commit | c0d9eba07f40a52bdfcfca3e7a926163b17d83ab (patch) | |
tree | b80e1e1a4dc51519b28ea995e411231d35135763 /src/Wallabag/CoreBundle/Resources | |
parent | d9085c63e35bb708f560722fff5f4f5ad322c27b (diff) | |
download | wallabag-c0d9eba07f40a52bdfcfca3e7a926163b17d83ab.tar.gz wallabag-c0d9eba07f40a52bdfcfca3e7a926163b17d83ab.tar.zst wallabag-c0d9eba07f40a52bdfcfca3e7a926163b17d83ab.zip |
Updating logged in user (email, name, etc ..)
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig index 94145177..7a45ec1f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig | |||
@@ -7,7 +7,7 @@ | |||
7 | {% endblock %} | 7 | {% endblock %} |
8 | 8 | ||
9 | {% block content %} | 9 | {% block content %} |
10 | <h2>{% trans %}Basic config{% endtrans %}</h2> | 10 | <h2>{% trans %}Wallabag configuration{% endtrans %}</h2> |
11 | 11 | ||
12 | <form action="{{ path('config') }}" method="post" {{ form_enctype(configForm) }}> | 12 | <form action="{{ path('config') }}" method="post" {{ form_enctype(configForm) }}> |
13 | {{ form_errors(configForm) }} | 13 | {{ form_errors(configForm) }} |
@@ -39,6 +39,38 @@ | |||
39 | {{ form_rest(configForm) }} | 39 | {{ form_rest(configForm) }} |
40 | </form> | 40 | </form> |
41 | 41 | ||
42 | <h2>{% trans %}User information{% endtrans %}</h2> | ||
43 | |||
44 | <form action="{{ path('config') }}" method="post" {{ form_enctype(userForm) }}> | ||
45 | {{ form_errors(userForm) }} | ||
46 | |||
47 | <fieldset class="w500p inline"> | ||
48 | <div class="row"> | ||
49 | {{ form_label(userForm.username) }} | ||
50 | {{ form_errors(userForm.username) }} | ||
51 | {{ form_widget(userForm.username) }} | ||
52 | </div> | ||
53 | </fieldset> | ||
54 | |||
55 | <fieldset class="w500p inline"> | ||
56 | <div class="row"> | ||
57 | {{ form_label(userForm.name) }} | ||
58 | {{ form_errors(userForm.name) }} | ||
59 | {{ form_widget(userForm.name) }} | ||
60 | </div> | ||
61 | </fieldset> | ||
62 | |||
63 | <fieldset class="w500p inline"> | ||
64 | <div class="row"> | ||
65 | {{ form_label(userForm.email) }} | ||
66 | {{ form_errors(userForm.email) }} | ||
67 | {{ form_widget(userForm.email) }} | ||
68 | </div> | ||
69 | </fieldset> | ||
70 | |||
71 | {{ form_rest(userForm) }} | ||
72 | </form> | ||
73 | |||
42 | <h2>{% trans %}Change your password{% endtrans %}</h2> | 74 | <h2>{% trans %}Change your password{% endtrans %}</h2> |
43 | 75 | ||
44 | <form action="{{ path('config') }}" method="post" {{ form_enctype(pwdForm) }}> | 76 | <form action="{{ path('config') }}" method="post" {{ form_enctype(pwdForm) }}> |