anomaly / upload-field_type
A simple file upload field type.
Installs: 678
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 5
Type:streams-addon
Requires
- anomaly/files-module: ^2.6
- anomaly/streams-platform: ^1.3
README
anomaly.field_type.upload
A file upload field type.
The file file type provides a file input that uploads to the Files module.
Example
Using the contact form plugin:
{{ form('contact').fields({
'name': {
'required': true,
'label': 'REsume',
'type': 'anomaly.field_type.upload',
'config' : {
'folder':'uploads'
}
}
})|raw }}