Skip to main content

File

Generate a file input field.

Basic usage

{{
form.file({
'label': 'Attach file',
'id': 'guid-' ~ random(),
'name': 'file-1'
})
}}

Helper options

You can configure this helper using the common helper options.