From 7736a2d3cc554054a4d75c3eeedbc6b6f48f4ea0 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Sat, 17 Oct 2020 18:18:51 +0100 Subject: [PATCH] Fix horizontal-ness on some forms --- RIGS/templates/eventauthorisation_form.html | 13 +++++++++---- assets/templates/asset_audit.html | 2 +- assets/templates/asset_audit_list.html | 18 ++++++++++-------- assets/templates/asset_list.html | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/RIGS/templates/eventauthorisation_form.html b/RIGS/templates/eventauthorisation_form.html index 479777c6..155cdeb7 100644 --- a/RIGS/templates/eventauthorisation_form.html +++ b/RIGS/templates/eventauthorisation_form.html @@ -26,7 +26,7 @@
-
@@ -36,7 +36,7 @@
-
@@ -47,7 +47,7 @@
-
@@ -56,12 +56,17 @@
-
+
+
+ £ +
{% render_field form.amount class+="form-control" %} +
diff --git a/assets/templates/asset_audit.html b/assets/templates/asset_audit.html index b4d6f293..cc77dbe9 100644 --- a/assets/templates/asset_audit.html +++ b/assets/templates/asset_audit.html @@ -23,7 +23,7 @@ } checkIfCableHidden(); -
+ {% include 'form_errors.html' %} {% csrf_token %} diff --git a/assets/templates/asset_audit_list.html b/assets/templates/asset_audit_list.html index 25ffd853..d3017596 100644 --- a/assets/templates/asset_audit_list.html +++ b/assets/templates/asset_audit_list.html @@ -49,14 +49,16 @@ Asset with that ID does not exist! -

Audit Asset:

- -
- {% render_field form.q|add_class:'form-control' placeholder='Enter Asset ID' autofocus="true" %} -
- - Search -
+ +
+

Audit Asset:

+
+ {% render_field form.q|add_class:'form-control' placeholder='Enter Asset ID' autofocus="true" %} +
+ + Search +
+
diff --git a/assets/templates/asset_list.html b/assets/templates/asset_list.html index 3a98e0b0..47137177 100644 --- a/assets/templates/asset_list.html +++ b/assets/templates/asset_list.html @@ -83,7 +83,7 @@
-
+
{# TODO Gotta be a cleaner way to do this... #}

Active Filters: {% for filter in category_filters %}{{filter}}