@include('admin/shared/input', ['name' => 'title', 'label' => __('global.title'), 'value' => old('title', $item->title)])
@include('admin/shared/input', ['name' => 'slug', 'label' => __('global.slug'), 'value' => old('slug', $item->slug)])
@include('admin/shared/status-select', ['value' => $item->status])
@include('admin/shared/select', ['name' => 'type', 'label' => __('page::messages.type'), 'options' => $types, 'value' => old('type', $item->type)])
@include('admin/shared/editor', ['name' => 'content', 'label' => __('global.content'), 'value' => old('content', $item->content)])
@include('admin/shared/textarea', ['name' => 'style', 'label' => __('page::messages.style'), 'value' => old('style', $item->style)])
@include('admin/shared/textarea', ['name' => 'script', 'label' => __('page::messages.script'), 'value' => old('script', $item->script)])
@include('admin/shared/textarea', ['name' => 'meta', 'label' => __('page::messages.meta'), 'value' => old('meta', $item->meta)])
@include('admin/shared/input', ['name' => 'redirect', 'label' => __('page::messages.redirect'), 'value' => old('redirect', $item->redirect)])
@include('admin/shared/file', ['name' => 'pdf', 'label' => __('page::messages.pdf'), 'value' => old('pdf', $item->pdf), 'extensions' => 'pdf'])
@include('admin/shared/select', ['name' => 'locale', 'label' => __('global.locale'), 'options' => $locales, 'value' => old('locale', $item->locale)])
@include('admin/shared/checkbox', ['name' => 'logged_only', 'label' => __('page::messages.logged_only'), 'checked' => old('logged_only', $item->logged_only)])