n
File size: 1,144 Bytes
970583e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends 'admin/master.html' %}
{% from "security/_macros.html" import render_field, render_field_with_errors, render_checkbox_field %}
{% include "security/_messages.html" %}
{% block body %}
{{ super() }}
<section class="content" style="max-width: 800px; max-height: 800px">
    <div class="col-sm-8 col-sm-offset-2" style="margin-top: calc(100% / 6)">
        <div class="well" style="padding: 44px">
            <h1 class="text-center">Login</h1>
            <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_checkbox_field(login_user_form.remember) }}
                {{ render_field(login_user_form.next) }}
                {{ render_field(login_user_form.submit, class="btn btn-primary btn-block") }}
            </form>
            <p>Don't have an account? <a href="{{ url_for('security.register') }}">Create One</a></p>
        </div>
    </div>
</section>
{% endblock body %}