You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
450 B
23 lines
450 B
1 year ago
|
{#
|
||
|
/**
|
||
|
* @file
|
||
|
* Theme override to display a file form widget.
|
||
|
*
|
||
|
* Available variables:
|
||
|
* - element: Form element for the file upload.
|
||
|
* - attributes: HTML attributes for the containing element.
|
||
|
*
|
||
|
* @see template_preprocess_file_managed_file()
|
||
|
*/
|
||
|
#}
|
||
|
{{ attach_library('roblib_d10_phase3/file') }}
|
||
|
{%
|
||
|
set classes = [
|
||
|
'js-form-managed-file',
|
||
|
'form-managed-file',
|
||
|
]
|
||
|
%}
|
||
|
<div{{ attributes.addClass(classes) }}>
|
||
|
{{ element }}
|
||
|
</div>
|