fix review with method needed

This commit is contained in:
System User 2026-05-07 12:09:10 +02:00
parent 6bb4b9ebd2
commit 6762412cf5

View file

@ -14,30 +14,30 @@
<hgroup>
@if (isset($badge) && !empty($badge))
<div class="f-bourton-base mt-4 w-fit px-2 py-1 text-white" style="background-color:{{ $badge->color }}">
{{ html_entity_decode($badge->label) }}
{!! clean($badge->label) !!}
</div>
@endif
<div class="d-flex align-items-center">
@if (isset($badge) && !empty($picto))
<img class="img-fluid my-3 me-2" id="header-banner-picto" src="{{ $picto }}" title="{{ html_entity_decode($picto_title) }}"
<img class="img-fluid my-3 me-2" id="header-banner-picto" src="{{ $picto }}" title="{!! clean($picto->picto_title) !!}"
alt="{{ $picto_alt }}">
@endif
<h1 class="my-3">{{ html_entity_decode($title) }}</h1>
<h1 class="my-3">{!! clean($title) !!}</h1>
</div>
<p>{{ html_entity_decode($subtitle) }}
<p>{!! clean($subtitle) !!}
</p>
</hgroup>
</div>
<div class="d-none d-xl-block col-6 col-xxl-4">
<div class="header-image-wrapper breeding-header-translate-right">
<img class="img-fluid" src="{{ asset($image) }}"
title="{{ html_entity_decode($title_img) }}" alt="{{ html_entity_decode($alt_img) }}">
title="{!! clean($title_img) !!}" alt="{!! clean($alt_img) !!}">
</div>
</div>
<div class="col-12 col-md-8 position-relative z-1 mx-auto mt-4">
<div class="d-xl-none header-image-wrapper">
<img class="img-fluid" src="{{ asset($image) }}"
title="{{ html_entity_decode($title_img) }}" alt="{{ html_entity_decode($alt_img) }}">
title="{!! clean($title_img) !!}" alt="{!! clean($alt_img) !!}">
</div>
</div>
</div>