diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/templates/base.html b/templates/base.html index 4787ae7..c7dc9f0 100644 --- a/templates/base.html +++ b/templates/base.html @@ -7,15 +7,16 @@ <link rel="stylesheet" href="{{ assets | get(key="main.css") }}"> <link rel="icon" href="{{ assets | get(key="icon.png") }}"> -<header class="g-Header"> - <div class="g-Header__Title">Budget</div> - {% if connected_user %} - <form action="/logout" method="POST"> - {{ connected_user.name }} - <input class="g-Header__Logout" type="submit" value="(Déconnexion)" /> - </form> - {% endif %} -</header> +{% if connected_user %} + <header class="g-Header"> + <div class="g-Header__Title">Budget</div> + <form action="/logout" method="POST"> + {{ connected_user.name }} + <input class="g-Header__Logout" type="submit" value="(Déconnexion)" /> + </form> + </div> + </header> +{% endif %} {% if connected_user %} <nav class="g-Nav"> |