From 5f4e80b9c5c39e6eebb86edce20ffe107c03aa3e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 28 Aug 2020 11:03:49 +0100 Subject: tracked down the bastard --- ctrack/caf/templates/caf/caf_detail.html | 2 +- ctrack/caf/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ctrack/caf') diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html index fc2fcfd..fdd939e 100644 --- a/ctrack/caf/templates/caf/caf_detail.html +++ b/ctrack/caf/templates/caf/caf_detail.html @@ -72,7 +72,7 @@ {{ system.name }} {{ system.function }}
- + {{ system.caf }} | Edit System diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index 4eacd08..4dbde02 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -37,7 +37,7 @@ def caf_detail_view(request, pk): "object": caf, "assessments_and_scores": _scrs, "organisation": caf.organisation, - "systems": caf.systems, + "systems": caf.systems.all(), } return render(request, "caf/caf_detail.html", context) -- cgit v1.2.3