what2watch/templates/index.html

27 lines
536 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}Welcome to Witch Watch, Bish{% endblock %}
{% block content %}
<h1>Welcome to Witch Watch</h1>
{% match user %}
{% when Some with (usr) %}
<p>
Hello, {{ usr.username }}! It's nice to see you.
</p>
</br>
<p>
<form action="/logout" enctype="application/x-www-form-urlencoded" method="post">
<input type="submit" value="sign out?">
</form>
</p>
{% else %}
<p>
Heya, why don't you <a href="/login">log in</a> or <a href="/signup">sign up</a>?
</p>
{% endmatch %}
{% endblock %}