aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/authenticate.html
blob: d4f7df6ec2aca20994e9290348b7aeb3d4e1a681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "layout.html" %}
{% block content %}
<h2>Authentication</h2>

{% for errors in form.errors.values() %}
<p class=error>{{ ", ".join(errors) }}</p>
{% endfor %}

{% if create_project %}
<p class="info">The project you are trying to access do not exist, do you want 
to <a href="{{ url_for("create_project", project_id=create_project) }}">create it</a>?
</p>
{% endif %}
<form action="" method="POST" accept-charset="utf-8">
    {{ form.hidden_tag() }}
    
    <p>{{ form.id.label }}<br /> {{ form.id }}</p>
    <p>{{ form.password.label }}<br /> {{ form.password }}</p>
    <p>{{ form.submit }}</p>
</form>
{% endblock %}