Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/Resources/views/includes/layout/_content.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
class="{% if (not isHiddenType and isFormCase) or not isFormCase %}px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4{% endif %} {{ content.option('attr')['class'] ?? '' }}"
{{ attr|map((value, attr) => "#{attr}=\"#{value}\"")|join(' ')|raw }}
>
<dt class="whatwedo-utility-bold text-neutral-500 overflow-hidden truncate" id="wwd-crud-block-{{ block.acronym }}-content-{{ contentAcronym }}-label" title="{{ content.option('label')|trans }}">
{{ content.option('label')|trans }}
<dt
class="whatwedo-utility-bold text-neutral-500 overflow-hidden truncate"
id="wwd-crud-block-{{ block.acronym }}-content-{{ contentAcronym }}-label"
title="{{ content.option('label')|trans|striptags }}"
>
{{ content.option('label')|trans|raw }}
{% if content.option('help') is not empty %}
<span {{ stimulus_controller('araise/crud-bundle/tooltip', { 'title': content.option('help')|trans } ) }}>
{{ bootstrap_icon('info-circle-fill', {
Expand Down Expand Up @@ -64,7 +68,7 @@
{% endif %}
{% if content.option('label') %}
<span class="block whatwedo-utility-bold text-neutral-500 px-4 py-3">
{{ content.option('label')|trans }}
{{ content.option('label')|trans|raw }}
</span>
{% endif %}

Expand Down
Loading