aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/login.html
blob: fce29054be1da1c2d46326128a9e684fdd765fa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "layout.html" %}

{% block content %}
<div align="center">
  <h2>Log In</h2>

  {% for message in form.email.errors %}
    <div class="flash">{{ message }}</div>
  {% endfor %}

  {% for message in form.password.errors %}
    <div class="flash">{{ message }}</div>
  {% endfor %}

  <form action="{{ url_for('login') }}" method=post>
    {{ form.hidden_tag() }}

    {{ form.email.label }}
    {{ form.email }}
    <br />
    {{ form.password.label }}
    {{ form.password }}

    <br />
    {{ form.submit(class_="btn") }}
  </form>
</div>

{% endblock %}
bgstack15