name === trans('entities.pages_initial_name')) option:page-editor:has-default-title="true" @endif option:page-editor:editor-type="{{ setting('app-editor') }}" option:page-editor:page-id="{{ $model->id ?? '0' }}" option:page-editor:page-new-draft="{{ ($model->draft ?? false) ? 'true' : 'false' }}" option:page-editor:draft-text="{{ ($model->draft || $model->isDraft) ? trans('entities.pages_editing_draft') : trans('entities.pages_editing_page') }}" option:page-editor:autosave-fail-text="{{ trans('errors.page_draft_autosave_fail') }}" option:page-editor:editing-page-text="{{ trans('entities.pages_editing_page') }}" option:page-editor:draft-discarded-text="{{ trans('entities.pages_draft_discarded') }}" option:page-editor:set-changelog-text="{{ trans('entities.pages_edit_set_changelog') }}"> {{--Header Bar--}}
{{--Title input--}}
@include('form.text', ['name' => 'name', 'model' => $model, 'placeholder' => trans('entities.pages_title')])
{{--Editors--}}
{{--WYSIWYG Editor--}} @if(setting('app-editor') === 'wysiwyg') @include('pages.wysiwyg-editor', ['model' => $model]) @endif {{--Markdown Editor--}} @if(setting('app-editor') === 'markdown') @include('pages.markdown-editor', ['model' => $model]) @endif