]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
Added check if there is only one user
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / Config / index.html.twig
index ff7ef73a81509ac971aac10e47061aecc611b9b6..29575272cd84ea4a469518b2893f21b1ae2a6cb2 100644 (file)
 
         {{ form_widget(form.user._token) }}
         {{ form_widget(form.user.save) }}
+        {% if enabled_users > 1 %}
+            <a class='btn red' href='{{ path('delete_account') }}'>{{ 'config.form_user.delete_account' | trans }}</a>
+        {% endif %}
     </form>
 
     <h2>{{ 'config.tab_menu.password'|trans }}</h2>