20 lines
795 B
HTML
20 lines
795 B
HTML
{% extends 'base.html' %}
|
|
{% from "security/_macros.html" import render_field_with_errors, render_field %}
|
|
|
|
{% block content %}
|
|
<div class="jumbotron">
|
|
<h1 class="display-3">Please sign in</h1>
|
|
<br>
|
|
<form 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.submit) }}
|
|
</form>
|
|
<p>Dont't have an account? <a class="bottom" href="/register"> Sign Up here</a></p>
|
|
{% if error %}
|
|
<p class="error"><strong>Error:</strong> {{ error }}
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %} |