diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-07 01:44:50 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-07 01:44:50 +0100 |
| commit | 2560a668f7b46067566a7203666f4d072ac6752e (patch) | |
| tree | fbfd61f94924588c7f4cd0c1943f12cda1baccf4 /templates/layout.html | |
| parent | df25a48abd69292af55f3356a48a737da829cd20 (diff) | |
| download | famille-flask-2560a668f7b46067566a7203666f4d072ac6752e.tar.gz | |
Add logout
Diffstat (limited to 'templates/layout.html')
| -rw-r--r-- | templates/layout.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/layout.html b/templates/layout.html index be923ea..f5a5395 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -10,7 +10,8 @@ <div class="container"> <div class="sheet"> <div class="top"> - (<a href="/user/edit">Mon compte</a> | <a href="/disconnect.php">Se déconnecter</a>)</p> + {{ session['user_name']}} + (<a href="/user/edit">Mon compte</a> | <a href="/logout">Se déconnecter</a>)</p> </div> <div class="main_menu"> <table> |
