aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/caf/forms.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/caf/forms.py b/ctrack/caf/forms.py
index 412d310..8e3d8ee 100644
--- a/ctrack/caf/forms.py
+++ b/ctrack/caf/forms.py
@@ -105,6 +105,9 @@ class ApplicableSystemCreateFromOrgForm(forms.Form):
# self.fields["caf"].label = "CAF"
self.fields["dft_categorisation"].label = "DfT Categorisation"
self.fields["oes_categorisation"].label = "OES Categorisation"
+ self.fields["essential_service"].queryset = EssentialService.objects.filter(
+ pk=org_id
+ )
self.helper = FormHelper(self)
self.helper.layout = Layout(
Fieldset(