fix login url for final redirect

This commit is contained in:
Joe Ardent 2024-03-08 17:16:07 -08:00
parent da6af0d30c
commit a8fdedfe1b
3 changed files with 5 additions and 22 deletions

View File

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

View File

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block title %}Dang, Bish{% endblock %}
{% block title %}Dang!{% endblock %}
{% block content %}
{% block header %}{% endblock %}

View File

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block title %}Thanks for Signing Up for What 2 Watch, Bish{% endblock %}
{% block title %}Thanks for Signing up for the Kitten Collective!{% endblock %}
{% block content %}
{% block header %}{% endblock %}
@ -13,7 +13,8 @@
</p>
</div>
<p>Now, head on over to <a href="/login?redirect_to=%2F{{ self.0.username|escape }}">the login page</a> and git going!
<p>Now, head on over to <a href="/user/login?redirect_to=%2F{{ self.0.username|escape }}">the login page</a> and git
going!
</p>
{% endblock %}