aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/models.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/models.py
parentc2073816d1181797c44a6549334762e6501315d8 (diff)
tweaked the IR model and the form page
Diffstat (limited to 'ctrack/organisations/models.py')
-rw-r--r--ctrack/organisations/models.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py
index 8fbe296..75b28df 100644
--- a/ctrack/organisations/models.py
+++ b/ctrack/organisations/models.py
@@ -215,8 +215,15 @@ class IncidentReport(models.Model):
on_delete=models.CASCADE,
verbose_name="Person " "reporting the incident",
)
+ person_involved = models.CharField(
+ max_length=100,
+ blank=True,
+ verbose_name="Name of person reporting/detecting incident",
+ )
role = models.CharField(
- max_length=100, blank=False, help_text="Please identify your role"
+ max_length=100,
+ blank=True,
+ help_text="Role of person reporting/detecting incident",
)
phone_number = models.CharField(max_length=30, blank=False)
email = models.EmailField(blank=False)