From 3f41090a9428934bef480baceb07b4eae8a84fd4 Mon Sep 17 00:00:00 2001
From: Chris Hill-Scott
Date: Mon, 13 Feb 2017 09:50:26 +0000
Subject: [PATCH] Fix duplicate labels on form inputs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
It’s invalid HTML to have multiple labels nested within each other. This
was happening by accident because WTForms tries to be clever – when you
put `{{ field.label }}` in a template it prints a `
{% endif %}
-{% endmacro %}
\ No newline at end of file
+{% endmacro %}
diff --git a/app/templates/components/file-upload.html b/app/templates/components/file-upload.html
index 89f4ea25d..f6ade8216 100644
--- a/app/templates/components/file-upload.html
+++ b/app/templates/components/file-upload.html
@@ -1,7 +1,7 @@
{% macro file_upload(field, button_text="Choose file", alternate_link=None, alternate_link_text=None) %}