drupal/core/modules/system/templates/indentation.html.twig

15 lines
370 B
Twig

{#
/**
* @file
* Default theme implementation for a set of indentation divs.
*
* These <div> tags are used for drag and drop tables.
*
* Available variables:
* - size: Optional. The number of indentations to create.
*
* @ingroup themeable
*/
#}
{% if size > 0 %}{% for i in 1..size %}<div class="js-indentation indentation">&nbsp;</div>{% endfor %}{% endif %}