fix the logout button
This commit is contained in:
parent
1852c9b6ad
commit
fd03e4a4db
1 changed files with 6 additions and 4 deletions
|
@ -6,11 +6,13 @@
|
||||||
Hello, {{ usr.username }}!
|
Hello, {{ usr.username }}!
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button class="warning">
|
<form action="/logout" enctype="application/x-www-form-urlencoded" method="post">
|
||||||
<input type="submit" value="sign out?">
|
<button class="warning">
|
||||||
</form>
|
<input type="submit" value="sign out?">
|
||||||
</button>
|
</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="header_logged_out">
|
<div class="header_logged_out">
|
||||||
Heya, why don't you <a href="/login">log in</a> or <a href="/signup">sign up</a>?
|
Heya, why don't you <a href="/login">log in</a> or <a href="/signup">sign up</a>?
|
||||||
|
|
Loading…
Reference in a new issue