blob: 4bbb28f9631ea39114670bdefc3009aaf176fd53 (
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
|
{% extends "layout.html" %}
{% block content %}
<div class="container">
<div class="well">
<h2>{{ _('Log In') }}</h2>
<form action="{{ url_for('login') }}" method=post>
{{ form.hidden_tag() }}
<div class="form-group">
{{ form.email_or_nickmane(class_="form-control", placeholder=_('Your email or nickname')) }}
</div>
{% for message in form.email_or_nickmane.errors %}
<div class="alert alert-warning" role="alert">{{ message }}</div>
{% endfor %}
<div class="form-group">
{{ form.password(class_="form-control", placeholder=_('Your Password')) }}
</div>
{% for message in form.password.errors %}
<div class="alert alert-warning" role="alert">{{ message }}</div>
{% endfor %}
{{ form.submit(class_="btn btn-default") }}
</form>
</div>
<a href="/signup" class="btn btn-default">{{ _('Sign up') }}</a>
<a href="{{ url_for('user.recover') }}" class="btn btn-default">{{ _('Forgot password') }}</a>
</div><!-- /.container -->
{% endblock %}
|