From a55944e379433cb2c099a6cede3fc1a7101a648e Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 4 Feb 2022 13:16:27 +0100 Subject: [PATCH] check the checkbox in a devices list when one form is invalid --- ereuse_devicehub/templates/inventory/actions.html | 2 +- ereuse_devicehub/templates/inventory/addDeviceslot.html | 2 +- ereuse_devicehub/templates/inventory/addDevicestag.html | 2 +- ereuse_devicehub/templates/inventory/allocate.html | 5 +---- ereuse_devicehub/templates/inventory/device_list.html | 6 +++++- ereuse_devicehub/templates/inventory/removeDeviceslot.html | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ereuse_devicehub/templates/inventory/actions.html b/ereuse_devicehub/templates/inventory/actions.html index 14230437..f3fc4a7f 100644 --- a/ereuse_devicehub/templates/inventory/actions.html +++ b/ereuse_devicehub/templates/inventory/actions.html @@ -16,7 +16,7 @@
{{ field.label(class_="form-label") }}: {{ field(class_="devicesList") }} -

+

You need select first some device before to do one action

diff --git a/ereuse_devicehub/templates/inventory/addDeviceslot.html b/ereuse_devicehub/templates/inventory/addDeviceslot.html index f489d28c..3a42cf00 100644 --- a/ereuse_devicehub/templates/inventory/addDeviceslot.html +++ b/ereuse_devicehub/templates/inventory/addDeviceslot.html @@ -17,7 +17,7 @@ {% endfor %} -

+

You need select first some device for adding this in a lot

diff --git a/ereuse_devicehub/templates/inventory/addDevicestag.html b/ereuse_devicehub/templates/inventory/addDevicestag.html index 03265569..9c157729 100644 --- a/ereuse_devicehub/templates/inventory/addDevicestag.html +++ b/ereuse_devicehub/templates/inventory/addDevicestag.html @@ -17,7 +17,7 @@ {% endfor %} -

+

You need select first some device for adding this in a tag

diff --git a/ereuse_devicehub/templates/inventory/allocate.html b/ereuse_devicehub/templates/inventory/allocate.html index 71bfc0b6..fb16ce86 100644 --- a/ereuse_devicehub/templates/inventory/allocate.html +++ b/ereuse_devicehub/templates/inventory/allocate.html @@ -11,16 +11,13 @@
{{ form_new_allocate.csrf_token }}