diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-04 12:07:17 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-04 12:07:17 +0100 |
commit | 370b16f4156ccdc9956dedc00e5dfb6106380d9d (patch) | |
tree | d5d3b1ed80c8e84680f3512a1b4286472dfffffd /templates/w3/layout/inline_field.html | |
parent | a26857dfb80c5427fd819fd231994ea5be187a9f (diff) |
UI changes
- ripped out more w3 stuff
- better login page template
- redirects to home after successful login
Diffstat (limited to 'templates/w3/layout/inline_field.html')
-rw-r--r-- | templates/w3/layout/inline_field.html | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/templates/w3/layout/inline_field.html b/templates/w3/layout/inline_field.html deleted file mode 100644 index aff23bb..0000000 --- a/templates/w3/layout/inline_field.html +++ /dev/null @@ -1,29 +0,0 @@ -{% load crispy_forms_field %} - -{% if field.is_hidden %} - {{ field }} -{% else %} - {% if field|is_checkbox %} - <div id="div_{{ field.auto_id }}" class="form-check form-check-inline{% if wrapper_class %} {{ wrapper_class }}{% endif %}"> - <label for="{{ field.id_for_label }}" class="form-check-label{% if field.field.required %} requiredField{% endif %}"> - {% if field.errors %} - {% crispy_field field 'class' 'form-check-input is-invalid' %} - {% else %} - {% crispy_field field 'class' 'form-check-input' %} - {% endif %} - {{ field.label }} - </label> - </div> - {% else %} - <div id="div_{{ field.auto_id }}" class="input-group{% if wrapper_class %} {{ wrapper_class }}{% endif %}"> - <label for="{{ field.id_for_label }}" class="sr-only{% if field.field.required %} requiredField{% endif %}"> - {{ field.label }} - </label> - {% if field.errors %} - {% crispy_field field 'placeholder' field.label 'class' 'form-control is-invalid' %} - {% else %} - {% crispy_field field 'placeholder' field.label 'class' 'form-control' %} - {% endif %} - </div> - {% endif %} -{% endif %} |