From c98648ae0c5fdf98cb706c490f95004b04db0f8e Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Wed, 26 Sep 2018 16:19:37 +0100
Subject: [PATCH] Change the display of unused fields to '-'

---
 opentech/apply/funds/models/mixins.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/apply/funds/models/mixins.py b/opentech/apply/funds/models/mixins.py
index 178a102ae..c51f64fec 100644
--- a/opentech/apply/funds/models/mixins.py
+++ b/opentech/apply/funds/models/mixins.py
@@ -136,7 +136,7 @@ class AccessFormData:
         try:
             field = self.field(field_id)
         except UnusedFieldException:
-            return None
+            return '-'
         data = self.data(field_id)
         return field.render(context={'data': data, 'include_question': include_question})
 
-- 
GitLab