From 7e89addd69530d0eea6e26bbba8014a36d193890 Mon Sep 17 00:00:00 2001 From: Simon Oliver Tveit Date: Thu, 14 Nov 2024 15:28:23 +0100 Subject: [PATCH] fixup! Uncrispify DetentionProfileForm Turns out the 'input-align' css class didnt do anything --- python/nav/web/arnold/forms.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/python/nav/web/arnold/forms.py b/python/nav/web/arnold/forms.py index 58b1a8f7d8..a8ca81775d 100644 --- a/python/nav/web/arnold/forms.py +++ b/python/nav/web/arnold/forms.py @@ -243,12 +243,7 @@ def __init__(self, *args, **kwargs): fields=[self['keep_closed']], css_classes='medium-4' ), FormColumn( - fields=[ - FormCheckBox( - self['exponential'], - css_classes='input-align', - ) - ], + fields=[FormCheckBox(self['exponential'])], css_classes='medium-4', ), FormDiv(css_classes='medium-4 columns'), @@ -259,7 +254,7 @@ def __init__(self, *args, **kwargs): ], css_class='secondary', ), - FormCheckBox(self['active'], css_classes='input-align'), + FormCheckBox(self['active']), ], submit_field=SubmitField(value='Save'), )