From 9d76a3c52b8310726ec09e0262813f0438c21df6 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 19 Jan 2020 15:57:06 +0000 Subject: init commit - from cookiecutter --- ctrack/templates/account/login.html | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ctrack/templates/account/login.html (limited to 'ctrack/templates/account/login.html') diff --git a/ctrack/templates/account/login.html b/ctrack/templates/account/login.html new file mode 100644 index 0000000..2cadea6 --- /dev/null +++ b/ctrack/templates/account/login.html @@ -0,0 +1,48 @@ +{% extends "account/base.html" %} + +{% load i18n %} +{% load account socialaccount %} +{% load crispy_forms_tags %} + +{% block head_title %}{% trans "Sign In" %}{% endblock %} + +{% block inner %} + +

{% trans "Sign In" %}

+ +{% get_providers as socialaccount_providers %} + +{% if socialaccount_providers %} +

{% blocktrans with site.name as site_name %}Please sign in with one +of your existing third party accounts. Or, sign up +for a {{ site_name }} account and sign in below:{% endblocktrans %}

+ +
+ + + + + +
+ +{% include "socialaccount/snippets/login_extra.html" %} + +{% else %} +

{% blocktrans %}If you have not created an account yet, then please +sign up first.{% endblocktrans %}

+{% endif %} + +
+ {% csrf_token %} + {{ form|crispy }} + {% if redirect_field_value %} + + {% endif %} + {% trans "Forgot Password?" %} + +
+ +{% endblock %} + -- cgit v1.2.3