type="file"accept="{% for format in accept %}.{{format}}{{ ',' if not loop.last }}{% endfor %}"multiple></span>
type="file"accept="{% for format in accept %}.{% if format != ''%}{{format}}{% else %}*{% endif %}{{ ',' if not loop.last }}{% endfor %}"multiple></span>