@php $span = $left || $right; @endphp @if ($span) @endif @if ($left) {!! $left !!} @endif class(['text-red-500' => $error]) }} /> @if ($right) {!! $right !!} @endif @if ($span) @endif