aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/organisations/views.py')
-rw-r--r--ctrack/organisations/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/organisations/views.py b/ctrack/organisations/views.py
index 3363a33..e73792a 100644
--- a/ctrack/organisations/views.py
+++ b/ctrack/organisations/views.py
@@ -9,7 +9,7 @@ from django.db import transaction
from django.urls import reverse_lazy
from django.views.generic import CreateView, DetailView, ListView
-from .forms import AddressInlineFormSet, OrganisationCreateForm
+from .forms import AddressInlineFormSet, IncidentReportForm, OrganisationCreateForm
from .models import IncidentReport, Organisation
@@ -76,3 +76,4 @@ class OrganisationDetailView(LoginRequiredMixin, DetailView):
class IncidentReportCreateView(LoginRequiredMixin, CreateView):
model = IncidentReport
fields = "__all__"
+ form = IncidentReportForm