aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/views.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-04-15 14:20:29 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-04-15 14:20:29 +0100
commitba1b0f411a6f624e1ebf00c772f25a2dc8479e0c (patch)
tree8e7ec456df54c96e49f258ffb111acb966d3b0da /ctrack/caf/views.py
parentaa96b3e12cf4c1c146e9a5a5504051b0ef201275 (diff)
fixing the Ceate CAF page
Diffstat (limited to '')
-rw-r--r--ctrack/caf/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index 6664928..7e5e510 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -3,13 +3,13 @@ from django.shortcuts import render
from django.views.generic import CreateView, ListView, DetailView
from ctrack.assessments.models import CAFAssessment, CAFObjective, CAFPrinciple, CAFAssessmentOutcomeScore
-from ctrack.caf.forms import CAFForm
+from ctrack.caf.forms import CAFCreateForm
from ctrack.caf.models import ApplicableSystem, CAF
class CreateCAF(LoginRequiredMixin, CreateView):
- form_class = CAFForm
- template_name = "caf/create.html"
+ form_class = CAFCreateForm
+ template_name = "caf/caf_create.html"
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)