From 3aec120ae42cb29049c8ba3d8d52d2388e56bb36 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 29 May 2020 17:11:21 +0100 Subject: tweaked the IR model and the form page --- ctrack/organisations/forms.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ctrack/organisations/forms.py') diff --git a/ctrack/organisations/forms.py b/ctrack/organisations/forms.py index 6bcd723..e5ed3ad 100644 --- a/ctrack/organisations/forms.py +++ b/ctrack/organisations/forms.py @@ -99,6 +99,7 @@ class IncidentReportForm(forms.ModelForm): super().__init__(*args, **kwargs) self.helper = FormHelper(self) self.helper.layout = Layout( + "person_involved", "role", "phone_number", "email", @@ -133,6 +134,7 @@ class IncidentReportForm(forms.ModelForm): class Meta: model = IncidentReport fields = [ + "person_involved", "role", "phone_number", "email", -- cgit v1.2.3