You are here

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

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

Default theme implementation to display a unitary file form widget.

Available variables:

  • table: Table of previously uploaded files.
  • element: The form element for uploading another file.

File

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