diff --git a/resources/views/entities/components/attributes.blade.php b/resources/views/entities/components/attributes.blade.php index a08ce066a5..f749c59d43 100644 --- a/resources/views/entities/components/attributes.blade.php +++ b/resources/views/entities/components/attributes.blade.php @@ -12,7 +12,7 @@ {!! $attribute->name() !!} @if ($attribute->isCheckbox()) - + @if ($attribute->value) @else @@ -22,14 +22,25 @@ @endif @elseif ($attribute->isText()) -

+

{!! nl2br($attribute->mappedValue()) !!}

@elseif (!$attribute->isCheckbox() && !$attribute->isSection()) -

+

{!! $attribute->mappedValue() !!}

@endif @endforeach + @endif + +@section('scripts') + @parent + @vite('resources/js/attributes.js') +@endsection + +@section('modals') + @parent + +@endsection \ No newline at end of file