From 8ad299aef1a74193fb6c6eb519febc6f05eeab09 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 23 Mar 2022 18:08:37 +0100 Subject: [PATCH] wrap long lines --- devices/forms.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/devices/forms.py b/devices/forms.py index 25a7f56..e9312d7 100644 --- a/devices/forms.py +++ b/devices/forms.py @@ -83,14 +83,22 @@ class DeviceUpdateForm(forms.ModelForm): Div( Div('location', id="htmx-location-target"), HTML(""" - add + add """), css_class="input-group"), 'user', Div( Div('category', id="htmx-category-target"), HTML(""" - add + add """), css_class="input-group"), 'serialnumber', @@ -98,7 +106,8 @@ class DeviceUpdateForm(forms.ModelForm): FormActions( Submit('save_device', 'Save'), HTML( - """Cancel""") + """Cancel""") ), Div(css_id='htmx-modal-position', css_class="col") )