fix the logout button

This commit is contained in:
Joe Ardent 2023-09-23 15:22:45 -07:00
parent 1852c9b6ad
commit fd03e4a4db
1 changed files with 6 additions and 4 deletions

View File

@ -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>?