fix login url for final redirect
This commit is contained in:
parent
da6af0d30c
commit
a8fdedfe1b
3 changed files with 5 additions and 22 deletions
|
@ -1,26 +1,8 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block title %}Welcome to What 2 Watch, Bish{% endblock %}
|
{% block title %}Welcome to the Kitten Collective!{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block title %}Dang, Bish{% endblock %}
|
{% block title %}Dang!{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% block header %}{% endblock %}
|
{% block header %}{% endblock %}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "base.html" %}
|
{% 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 content %}
|
||||||
{% block header %}{% endblock %}
|
{% block header %}{% endblock %}
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</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>
|
</p>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue