From b2618e9404b84cc62d4becb02436233a0d53b375 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 25 Nov 2015 22:45:43 +0100 Subject: Rfactorization. Just a start... --- web/templates/login.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 web/templates/login.html (limited to 'web/templates/login.html') diff --git a/web/templates/login.html b/web/templates/login.html new file mode 100644 index 00000000..c37d6937 --- /dev/null +++ b/web/templates/login.html @@ -0,0 +1,30 @@ +{% extends "layout.html" %} +{% block content %} +
+
+

{{ _('Log In') }}

+
+ {{ form.hidden_tag() }} + +
+ {{ form.email(class_="form-control", placeholder=_('Your email')) }} +
+ {% for message in form.email.errors %} + + {% endfor %} + +
+ {{ form.password(class_="form-control", placeholder=_('Your Password')) }} +
+ {% for message in form.password.errors %} + + {% endfor %} + + {{ form.submit(class_="btn btn-default") }} +
+
+ {{ _('Sign up') }} +   + {{ _('Forgot password') }} +
+{% endblock %} -- cgit