aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-08-13 17:08:00 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-08-13 17:08:00 +0100
commita6c69db675ff71983bb6f5ca92acaf2573fce941 (patch)
treee9a1cc7c5a15d0e350ca14c22aded43ad4f4dc52 /ctrack/caf
parentfa9033e81943fdd577ebc135ea9c4cf98404677f (diff)
reduce size of dropdown
Diffstat (limited to 'ctrack/caf')
-rw-r--r--ctrack/caf/forms.py19
1 files changed, 11 insertions, 8 deletions
diff --git a/ctrack/caf/forms.py b/ctrack/caf/forms.py
index 4a03213..61d03b4 100644
--- a/ctrack/caf/forms.py
+++ b/ctrack/caf/forms.py
@@ -1,15 +1,18 @@
from crispy_forms.helper import FormHelper
-from crispy_forms.layout import Button, Field, Hidden
-from crispy_forms.layout import ButtonHolder
-from crispy_forms.layout import Fieldset
-from crispy_forms.layout import Layout
-from crispy_forms.layout import Submit
+from crispy_forms.layout import (
+ Button,
+ ButtonHolder,
+ Field,
+ Fieldset,
+ Hidden,
+ Layout,
+ Submit,
+)
from django import forms
from django.forms import inlineformset_factory
from django.urls import reverse
-from ctrack.caf.models import ApplicableSystem
-from ctrack.caf.models import CAF
+from ctrack.caf.models import CAF, ApplicableSystem
from ctrack.organisations.models import Organisation
CAFCreateInlineFormset = inlineformset_factory(
@@ -42,7 +45,7 @@ class ApplicableSystemCreateFromCafForm(forms.Form):
"",
Field("name", css_class="form-control-lg"),
"function",
- Field("dft_categorisation", css_class="form-control-lg",),
+ "dft_categorisation",
Hidden("caf", caf_id),
Hidden("organisation", org_id),
),