diff --git a/templates/bugsink/login.html b/templates/bugsink/login.html index 7f355fd..4728d01 100644 --- a/templates/bugsink/login.html +++ b/templates/bugsink/login.html @@ -1,6 +1,7 @@ {% extends "barest_base.html" %} {% load static %} {% load i18n %} +{% load tailwind_forms %} {% block title %}Log in ยท {{ site_title }}{% endblock %} @@ -15,7 +16,9 @@
{% if form.errors %} -
{% translate "Your username and password didn't match. Please try again." %}
+ {% for error in form.non_field_errors %} +
{{ error }}
+ {% endfor %} {% elif next %} {% if user.is_authenticated %} @@ -27,18 +30,10 @@
{% csrf_token %} -
- - - - -
-
- - - - -
+ + {% tailwind_formfield_implicit form.username %} + {% tailwind_formfield_implicit form.password %} +