@component('backoffice._components.tab', ['item' => 'Content', 'active' => true])
{{ html()->translations(function () { return [ html()->horizontalFormGroup()->required()->text('name', 'Name'), html()->horizontalFormGroup()->required()->text('slug', 'Slug'), html()->horizontalFormGroup()->required()->textarea('description', 'Description'), html()->horizontalFormGroup()->required()->text('video_id', 'Video ID'), ]; }) }}
@endcomponent @component('backoffice._components.tab', ['item' => 'Media'])
{{ html()->horizontalFormGroup()->media('featured', 'image', 'Featured') }}
@endcomponent @component('backoffice._components.tab', ['item' => 'Related contents'])
{{ html()->alert('info', 'Hold the CTRL key and click the items in the list to choose them') }} {{-- html()->horizontalFormGroup()->manyToManyPolymorph('articles', 'Articles', 'Article') --}} {{ html()->horizontalFormGroup()->manyToManyPolymorph('pages', 'Pages', 'Page') }}
@endcomponent @component('backoffice._components.tab', ['item' => 'Meta'])
{{ html()->seo() }}
@endcomponent