diff --git a/core/modules/system/templates/table.html.twig b/core/modules/system/templates/table.html.twig index 3d0252e..0ecc34c 100644 --- a/core/modules/system/templates/table.html.twig +++ b/core/modules/system/templates/table.html.twig @@ -62,12 +62,7 @@ {% for cell in header %} - {% - set cell_classes = [ - cell.active_table_sort ? 'active', - ] - %} - <{{ cell.tag }}{{ cell.attributes.addClass(cell_classes) }}> + <{{ cell.tag }}{{ cell.attributes }}> {{- cell.content -}} {% endfor %} @@ -78,12 +73,7 @@ {% if rows %} {% for row in rows %} - {% - set row_classes = [ - not no_striping ? cycle(['odd', 'even'], loop.index0), - ] - %} - + {% for cell in row.cells %} <{{ cell.tag }}{{ cell.attributes }}> {{- cell.content -}} @@ -94,8 +84,8 @@ {% elseif empty %} - - {{ empty }} + + {{ empty }} {% endif %} diff --git a/core/modules/system/templates/textarea.html.twig b/core/modules/system/templates/textarea.html.twig index 8a8426d..6a1a46e 100644 --- a/core/modules/system/templates/textarea.html.twig +++ b/core/modules/system/templates/textarea.html.twig @@ -15,13 +15,6 @@ * @ingroup themeable */ #} -{% - set classes = [ - 'form-textarea', - resizable ? 'resize-' ~ resizable, - required ? 'required', - ] -%} - - {{ value }} + + {{ value }} diff --git a/core/modules/system/templates/time.html.twig b/core/modules/system/templates/time.html.twig index 521df56..183b834 100644 --- a/core/modules/system/templates/time.html.twig +++ b/core/modules/system/templates/time.html.twig @@ -25,4 +25,4 @@ * @see http://www.w3.org/TR/html5-author/the-time-element.html#attr-time-datetime */ #} -{{ html ? text|raw : text }} +{{ html ? text|raw : text }}