diff --git a/src/morphodict/frontend/templates/registration/login.html b/src/morphodict/frontend/templates/registration/login.html new file mode 100644 index 000000000..9c869ef3c --- /dev/null +++ b/src/morphodict/frontend/templates/registration/login.html @@ -0,0 +1,38 @@ +{% extends "morphodict/base.html" %} + +{% block content %} + +{% if form.errors %} +
Your username and password didn't match. Please try again.
+{% endif %} + +{% if next %} + {% if user.is_authenticated %} +Your account doesn't have access to this page. To proceed, + please login with an account that has access.
+ {% else %} +Please login to see this page.
+ {% endif %} +{% endif %} + + + +{# Assumes you set up the password_reset view in your URLconf #} +{# #} + +{% endblock %} \ No newline at end of file