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

{% 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 %}
{% if admin_auth %}
<form class="form-horizontal" method="POST" accept-charset="utf-8">
    {{ forms.admin(form) }}
</form>
{% else %}
<form class="form-horizontal" method="POST" accept-charset="utf-8">
    {{ forms.authenticate(form) }}
</form>
{% endif %}
{% endblock %}