]> git.gir.st - subscriptionfeed.git/blob - app/templates/login.html.j2
allow running setup.sql/guest.sql multiple times
[subscriptionfeed.git] / app / templates / login.html.j2
1 {% extends "base.html.j2" %}
2 {% import 'macros.imp.j2' as macros %}
3
4 {% block title %}Log In or Sign Up{% endblock %}
5
6 {% block content %}
7 {{ super() }}
8 {% if current_user.is_authenticated %}
9 <form method=POST>
10 <button name=action value="logout">log out</button>
11 </form>
12 {% else %}
13 <form method=POST>
14 <label>User:<input name=user></label><br>
15 <label>Password:<input name=password type=password></label><br>
16 <label>Remember me: <input type=checkbox name=remember checked></label><br>
17 <button name=action value="login">log in</button>
18 <button name=action value="register">sign up</button>
19 </form>
20 {% endif %}
21 {% endblock %}
Imprint / Impressum