aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/authenticate.html
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/templates/authenticate.html')
-rw-r--r--ihatemoney/templates/authenticate.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/ihatemoney/templates/authenticate.html b/ihatemoney/templates/authenticate.html
new file mode 100644
index 0000000..f241c48
--- /dev/null
+++ b/ihatemoney/templates/authenticate.html
@@ -0,0 +1,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 %}