@component('backoffice._layouts.app', [ 'title' => $model->name ?: 'New video' ]) {{ html() ->modelForm($model, 'PATCH', action('Backoffice\VideosController@update', $model->id)) ->open() }} @component('backoffice._components.pageHeading', ['breadcrumb' => html()->backToIndex('Backoffice\VideosController@index')]) {{ html()->publishedIndicator($model->published_at) }} {{ $model->name ?: 'New video' }} @slot('actions') {{ html()->viewLargeButton($model->path()) }} @endslot @endcomponent
@component('backoffice._components.tabs', ['items' => ['Content','Related contents','Meta']]) @include('backoffice.videos._partials.form') @endcomponent
{{ html()->status(null) }} {{ html()->formGroup()->checkbox('in_articles_feed', 'In articles feed') }} @component('backoffice._components.tabs', ['items' => ['Params','Activity']]) @component('backoffice._components.tab', ['item' => 'Params', 'active' => true]) {{-- html()->formGroup()->required()->text('video_id', 'Video ID') --}} {{ html()->formGroup()->required()->text('duration', 'Duration') }}
{{ html()->formGroup()->required()->date('started_at', 'Started at') }} {{ html()->formGroup()->date('ended_at', 'End at') }}
{{ html()->formGroup()->category('articleCategory', 'Category') }} @endcomponent @component('backoffice._components.tab', ['item' => 'Activity']) @include('backoffice._layouts._partials.activityLogs') @endcomponent @endcomponent
{{ html()->closeModelForm() }} @endcomponent