{% if item.type in ['FileField'] %} {{ item.label(class=theme.form.file_label_class, style=theme.form.file_label_style) }} {{ item(class=theme.form.file_class, type=theme.form.file_type, style=theme.form.file_style) }} {% endif %}