flask-login-example/templates/web/login.html

18 lines
438 B
HTML
Raw Permalink Normal View History

2017-05-17 20:16:30 +02:00
{% extends 'layouts/master.html' %}
{% block title %}Login{% endblock %}
{% block body %}
<h1>Login</h1>
<p>
<form action="" method="post">
2017-05-18 18:25:54 +02:00
{{ generate_fields(form) }}
<input type="submit" class="btn btn-success" value="Enter">
2017-05-17 20:16:30 +02:00
</form>
</p>
<p>
2017-05-18 18:25:54 +02:00
<a href="{{ url_for('signup') }}" class="btn btn-primary">Signup</a>
2017-05-17 20:16:30 +02:00
</p>
<p>
2017-05-18 18:25:54 +02:00
<a href="{{ url_for('forgot_password') }}" class="btn btn-warning">Forgot password</a>
2017-05-17 20:16:30 +02:00
</p>
{% endblock %}