Skip to content
Snippets Groups Projects
Commit b93673df authored by Todd Dembrey's avatar Todd Dembrey Committed by Fredrik Jonsson
Browse files

Correctly render the multifile output

parent 619f9464
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,11 @@
{% block data_display %}
<div class="wrapper">
{% for file in data %}
{% include "stream_forms/includes/file_field.html" with file=file %}
{% if data.name %}
{% include "stream_forms/includes/file_field.html" with file=file %}
{% else %}
{{ file }}
{% endif %}
{% endfor %}
</div>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment