{!! Form::mediaImage('image', Arr::get($attributes, 'image')) !!}
{!! Form::mediaImage('mini_image', Arr::get($attributes, 'mini_image')) !!}
{!! Form::mediaImage('background', Arr::get($attributes, 'background')) !!}
{!! Form::customSelect('style', [
'style-1' => __('Style 1'),
'style-2' => __('Style 2'),
'style-3' => __('Style 3'),
'style-4' => __('Style 4'),
'style-5' => __('Style 5'),
'style-6' => __('Style 6'),
'style-7' => __('Style 7'),
'style-8' => __('Style 8'),
], Arr::get($attributes, 'style')) !!}
@php
$fields = [
'title' => [
'title' => __('Title'),
'required' => true
],
'subtitle' => [
'title' => __('Subtitle'),
],
'icon' => [
'type' => 'icon',
'title' => __('Icon'),
],
'image' => [
'type' => 'image',
'title' => __('Image'),
],
];
@endphp
{!! Theme::partial('shortcodes.partials.tabs', compact('fields', 'attributes')) !!}