From 4b429c540f747ced5578922e50da23dfc3f1156e Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Wed, 21 Mar 2018 15:57:55 +0000
Subject: [PATCH] Convert the form view list for applicants for the new
 delegated view

---
 opentech/apply/funds/views.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/opentech/apply/funds/views.py b/opentech/apply/funds/views.py
index e0926ce37..f2c84c717 100644
--- a/opentech/apply/funds/views.py
+++ b/opentech/apply/funds/views.py
@@ -155,9 +155,7 @@ class AdminSubmissionDetailView(ReviewContextMixin, ActivityContextMixin, Delega
 
 class ApplicantSubmissionDetailView(ActivityContextMixin, DelegateableView):
     model = ApplicationSubmission
-    form_views = {
-        'comment': CommentFormView,
-    }
+    form_views = [CommentFormView]
 
     def dispatch(self, request, *args, **kwargs):
         if self.get_object().user != request.user:
-- 
GitLab