You are here

fine-image-widget-multiple.html.twig in Fine Image Upload 8.2

Same filename and directory in other branches
  1. 8 templates/fine-image-widget-multiple.html.twig

Default theme implementation to display a multi file form widget.

Available variables:

  • id: element id.
  • list: List of previously uploaded files.
  • element: The form element for uploading another file.

File

templates/fine-image-widget-multiple.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a multi file form widget.
  5. *
  6. * Available variables:
  7. * - id: element id.
  8. * - list: List of previously uploaded files.
  9. * - element: The form element for uploading another file.
  10. *
  11. * @see template_preprocess_fine_image_widget_multiple()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. <div id="{{ id }}" class="fiu-wrapper">
  17. {{ list }}
  18. {% if element %}
  19. <div class="fiu-add-element">
  20. {{ element }}
  21. </div>
  22. {% endif %}
  23. </div>