From 370b16f4156ccdc9956dedc00e5dfb6106380d9d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 4 Sep 2024 12:07:17 +0100 Subject: UI changes - ripped out more w3 stuff - better login page template - redirects to home after successful login --- templates/w3/layout/prepended_appended_text.html | 51 ------------------------ 1 file changed, 51 deletions(-) delete mode 100644 templates/w3/layout/prepended_appended_text.html (limited to 'templates/w3/layout/prepended_appended_text.html') diff --git a/templates/w3/layout/prepended_appended_text.html b/templates/w3/layout/prepended_appended_text.html deleted file mode 100644 index 1cccf79..0000000 --- a/templates/w3/layout/prepended_appended_text.html +++ /dev/null @@ -1,51 +0,0 @@ -{% load crispy_forms_field %} - -{% if field.is_hidden %} - {{ field }} -{% else %} -
- - {% if field.label and form_show_labels %} - - {% endif %} - -
-
- {% if crispy_prepended_text %} -
- {{ crispy_prepended_text }} -
- {% endif %} - {% if field|is_select and use_custom_control %} - {% if field.errors %} - {% crispy_field field 'class' 'custom-select is-invalid' %} - {% else %} - {% crispy_field field 'class' 'custom-select' %} - {% endif %} - {% else %} - {% if field.errors %} - {% crispy_field field 'class' 'form-control is-invalid' %} - {% else %} - {% crispy_field field 'class' 'form-control' %} - {% endif %} - {% endif %} - {% if crispy_appended_text %} -
- {{ crispy_appended_text }} -
- {% endif %} - {% if error_text_inline %} - {% include 'w3/layout/field_errors.html' %} - {% else %} - {% include 'w3/layout/field_errors_block.html' %} - {% endif %} -
- {% if not help_text_inline %} - {% include 'w3/layout/help_text.html' %} - {% endif %} -
- -
-{% endif %} -- cgit v1.2.3