From aaa17ff9bade831244b9d6e4f94bc6a335b56947 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Sat, 8 Jan 2022 07:13:24 +0100 Subject: [PATCH] Minor update form --- templates/locations/places/create.html | 6 +----- ultron/location/forms.py | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/templates/locations/places/create.html b/templates/locations/places/create.html index b6d4820949..1efc05f124 100644 --- a/templates/locations/places/create.html +++ b/templates/locations/places/create.html @@ -1,9 +1,5 @@ {% extends "base.html" %} - - - - {% block content %}
@@ -63,7 +59,7 @@
- +
diff --git a/ultron/location/forms.py b/ultron/location/forms.py index 26c3020ab7..f2ca8873d9 100644 --- a/ultron/location/forms.py +++ b/ultron/location/forms.py @@ -39,11 +39,7 @@ class PlaceForm(forms.ModelForm): # attrs={"class": "form-control", "placeholder": "Travel time"} # ), "active": forms.CheckboxInput( - attrs={ - "class": "bootstrap-switch pt-2", - "data-on-label": "", - "data-off-label": "", - } + attrs={"class": "form-control form-check-input ml-0 mt-0"} ), }