diff --git a/src/bundle/Resources/views/themes/admin/ui/page_title.html.twig b/src/bundle/Resources/views/themes/admin/ui/page_title.html.twig index 056dc5218d..7655269abe 100644 --- a/src/bundle/Resources/views/themes/admin/ui/page_title.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/page_title.html.twig @@ -5,17 +5,19 @@

{{ title }} - {% if tag is defined %} - {% set attr = tag_attr|default({})|merge({ - class: (tag_attr.class|default('') - ~ ' ibexa-badge ' ~ tag_extra_classes|default('') - )|trim, - }) %} + {% block tag %} + {% if tag is defined %} + {% set attr = tag_attr|default({})|merge({ + class: (tag_attr.class|default('') + ~ ' ibexa-badge ' ~ tag_extra_classes|default('') + )|trim, + }) %} -
- {{ tag }} -
- {% endif %} +
+ {{ tag }} +
+ {% endif %} + {% endblock %}

{% block top_side %}{% endblock %}