aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/forms.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-29 17:11:21 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-29 17:11:21 +0100
commit3aec120ae42cb29049c8ba3d8d52d2388e56bb36 (patch)
treeb474c440f524750825af6efefcf1948aa9cb8232 /ctrack/organisations/forms.py
parentc2073816d1181797c44a6549334762e6501315d8 (diff)
tweaked the IR model and the form page
Diffstat (limited to 'ctrack/organisations/forms.py')
-rw-r--r--ctrack/organisations/forms.py2
1 files changed, 2 insertions, 0 deletions
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",