From c2c734823e10e40724f66e9e76c0b4ad7f9cda2e Mon Sep 17 00:00:00 2001 From: sebastien <2le@2le.net> Date: Fri, 27 Oct 2023 11:42:31 +0200 Subject: [PATCH] badge before tab --- src/Resources/views/brick/tab/index.html.twig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Resources/views/brick/tab/index.html.twig b/src/Resources/views/brick/tab/index.html.twig index 0f64db52..7a588684 100644 --- a/src/Resources/views/brick/tab/index.html.twig +++ b/src/Resources/views/brick/tab/index.html.twig @@ -20,8 +20,10 @@ {% 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 %}