diff options
Diffstat (limited to 'horizon/horizon/templates/horizon/auth/_login.html')
-rw-r--r-- | horizon/horizon/templates/horizon/auth/_login.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/horizon/horizon/templates/horizon/auth/_login.html b/horizon/horizon/templates/horizon/auth/_login.html new file mode 100644 index 00000000..3c7f8abb --- /dev/null +++ b/horizon/horizon/templates/horizon/auth/_login.html @@ -0,0 +1,17 @@ +{% load i18n %} +<form action="{% url horizon:auth_login %}" method="post"> + {% csrf_token %} + <fieldset> + {% for hidden in form.hidden_fields %} + {{ hidden }} + {% endfor %} + {% for field in form.visible_fields %} + {{ field.label_tag }} + {{ field.errors }} + {{ field }} + {% endfor %} + {% block submit %} + <input type="submit" value="{% trans "Login" %}" /> + {% endblock %} + </fieldset> +</form> |