diff --git a/src/Resources/views/brick/sublist_items/index.html.twig b/src/Resources/views/brick/sublist_items/index.html.twig index f0ce0c86..ec11018a 100644 --- a/src/Resources/views/brick/sublist_items/index.html.twig +++ b/src/Resources/views/brick/sublist_items/index.html.twig @@ -3,6 +3,12 @@
{% if tab is defined %} {% include("@LleCrudit/brick/list_items/_pager.html.twig") with { tab: tab } %} + {% else %} {% include("@LleCrudit/brick/list_items/_pager.html.twig") %} {% endif %} diff --git a/src/Resources/views/brick/tab/index.html.twig b/src/Resources/views/brick/tab/index.html.twig index 9163a887..0f64db52 100644 --- a/src/Resources/views/brick/tab/index.html.twig +++ b/src/Resources/views/brick/tab/index.html.twig @@ -17,10 +17,12 @@ ) %} {% set active = true %} active - {% endif %}" + {% endif %} position-relative" data-bs-toggle="tab" href="#{{ tab.id }}" - role="tab" type="button">{{ tab.label|trans(domain=view.config.translation_domain) }} + role="tab" type="button">{{ tab.label|trans(domain=view.config.translation_domain) }} + + {% endif %} {% endfor %}