Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / themes / stable / templates / content-edit / file-managed-file.html.twig
1 {#
2 /**
3  * @file
4  * Theme override to display a file form widget.
5  *
6  * Available variables:
7  * - element: Form element for the file upload.
8  * - attributes: HTML attributes for the containing element.
9  *
10  * @see template_preprocess_file_managed_file()
11  */
12 #}
13 {%
14   set classes = [
15     'js-form-managed-file',
16     'form-managed-file',
17   ]
18 %}
19 <div{{ attributes.addClass(classes) }}>
20   {{ element }}
21 </div>