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 }}!
|
||||
</div>
|
||||
<div>
|
||||
<form action="/logout" enctype="application/x-www-form-urlencoded" method="post">
|
||||
<button class="warning">
|
||||
<input type="submit" value="sign out?">
|
||||
</form>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
<div class="header_logged_out">
|
||||
Heya, why don't you <a href="/login">log in</a> or <a href="/signup">sign up</a>?
|
||||
|
|
Loading…
Reference in a new issue