@php $component = isset($component) ? $component : null; @endphp
@csrf @include('cms::hidden_fields')
@php $ctas = $component && is_array($component->cta) ? $component->cta : []; $totalCta = count($ctas); @endphp @forelse ($ctas as $cta) @php $cta = miniCollection($cta); @endphp
@if ($cta['image'])
{{ __('Image') }}
@endif
@empty
@php $rand = uniqid(); @endphp
@endforelse
@include('cms::edit.sub.appearance', ['fields' => ['margin', 'rounded', 'full_link', 'height', 'width']]) @include('cms::pieces.submit-btn')