diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html index 9cfd2ceff..415113b4d 100644 --- a/ihatemoney/templates/layout.html +++ b/ihatemoney/templates/layout.html @@ -119,12 +119,14 @@ {% if session['is_admin'] %}
  • {{ _("Dashboard") }}
  • {% endif %} + {% if g.logout_form %}
  • {{ g.logout_form.hidden_tag() }} {{ g.logout_form.submit(class="dropdown-item") }}
  • + {% endif %} {% endif %}