aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/login.html
blob: 0a3bec2eb5dbdf802ee39659e7248587e221d1c5 (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
30
31
{% extends "layout.html" %}
{% block content %}
<div class="container">
    <div class="jumbotron">
        <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() }}

            <div class="form-group">
            {{ form.email(class_="form-control", placeholder=_('Your email')) }}
            </div>

            <div class="form-group">
            {{ form.password(class_="form-control", placeholder=_('Your Password')) }}
            </div>

            {{ form.submit(class_="btn") }}
        </form>
    </div>
    <a href="/signup/" class="btn btn-default">{{ _('Sign up') }}</a>
</div><!-- /.container -->
{% endblock %}
bgstack15