Start with default generated template
This commit is contained in:
22
templates/content-edit/file-managed-file.html.twig
Normal file
22
templates/content-edit/file-managed-file.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{#
|
||||
/**
|
||||
* @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('aaron/file') }}
|
||||
{%
|
||||
set classes = [
|
||||
'js-form-managed-file',
|
||||
'form-managed-file',
|
||||
]
|
||||
%}
|
||||
<div{{ attributes.addClass(classes) }}>
|
||||
{{ element }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user