file-managed-file.html.twig 403 B

123456789101112131415161718192021
  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>