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"} ), }