fix the logout button

This commit is contained in:
Joe Ardent 2023-09-23 15:22:45 -07:00
parent 1852c9b6ad
commit fd03e4a4db

View file

@ -6,11 +6,13 @@
Hello, {{ usr.username }}! Hello, {{ usr.username }}!
</div> </div>
<div> <div>
<form action="/logout" enctype="application/x-www-form-urlencoded" method="post">
<button class="warning"> <button class="warning">
<input type="submit" value="sign out?"> <input type="submit" value="sign out?">
</form>
</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>?