From 325e809f4728e628e130ce26428034093025b24d Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Thu, 6 Sep 2018 15:15:26 +0100
Subject: [PATCH] fixup! Correctly render the multifile output

---
 .../templates/stream_forms/render_multi_file_field.html         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/apply/stream_forms/templates/stream_forms/render_multi_file_field.html b/opentech/apply/stream_forms/templates/stream_forms/render_multi_file_field.html
index e8b182af4..b427ee9d0 100644
--- a/opentech/apply/stream_forms/templates/stream_forms/render_multi_file_field.html
+++ b/opentech/apply/stream_forms/templates/stream_forms/render_multi_file_field.html
@@ -2,7 +2,7 @@
 {% block data_display %}
     <div class="wrapper">
     {% for file in data %}
-        {% if data.name %}
+        {% if file.name %}
             {% include "stream_forms/includes/file_field.html" with file=file %}
         {% else %}
             {{ file }}
-- 
GitLab