aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/authenticate.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/authenticate.html')
-rw-r--r--budget/templates/authenticate.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/budget/templates/authenticate.html b/budget/templates/authenticate.html
index 98914d0..f241c48 100644
--- a/budget/templates/authenticate.html
+++ b/budget/templates/authenticate.html
@@ -7,7 +7,13 @@
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 %}