18 lines
715 B
HTML
18 lines
715 B
HTML
{% extends "layout.html" %}
|
|
{% from "security/_macros.html" import render_field_with_errors, render_field %}
|
|
|
|
{% block body %}
|
|
<h1>Login</h1>
|
|
<form class='form-horizontal' action="{{ url_for_security('login') }}" method="POST" name="login_user_form">
|
|
{{ login_user_form.hidden_tag() }}
|
|
{{ render_field_with_errors(login_user_form.email) }}
|
|
{{ render_field_with_errors(login_user_form.password) }}
|
|
{{ render_field_with_errors(login_user_form.remember) }}
|
|
{{ render_field(login_user_form.next) }}
|
|
{{ render_field(login_user_form.submit) }}
|
|
{% if security.recoverable %}
|
|
<a href="{{ url_for_security('forgot_password') }}">Forgot password</a>
|
|
{% endif %}
|
|
</form>
|
|
{% endblock %}
|