{% from "components/icon.html" import Icon %} {% macro UploadInput(field, show_label=False, watch=False, token="", object_name="") -%} {{ Icon("check-circle-solid") }} Remove {% if show_label %} {{ field.label }} {% endif %} {{ field.description }} Browse There was an error uploading your file. Please try again. If you encounter repeated problems uploading this file, please contact CCPO. {% for error, error_messages in field.errors.items() %} {{error_messages[0]}} {% endfor %} {%- endmacro %}