aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/admin.html
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/templates/admin.html')
-rw-r--r--ihatemoney/templates/admin.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/ihatemoney/templates/admin.html b/ihatemoney/templates/admin.html
new file mode 100644
index 0000000..031d27c
--- /dev/null
+++ b/ihatemoney/templates/admin.html
@@ -0,0 +1,12 @@
+{% extends "layout.html" %}
+{% block content %}
+<h2>Authentication</h2>
+
+{% if is_admin_auth_enabled %}
+<form class="form-horizontal" method="POST" accept-charset="utf-8">
+ {{ forms.admin(form) }}
+</form>
+{% else %}
+<div class="alert alert-danger">{{ _("Administration tasks are currently disabled.") }}</div>
+{% endif %}
+{% endblock %}