{{ csrf_field() }}
@include('form/text', ['name' => 'name', 'placeholder' => 'Page Title'])
@if(setting('app-editor') === 'wysiwyg') @if($errors->has('html'))
{{ $errors->first('html') }}
@endif @endif @if(setting('app-editor') === 'markdown')
Editor
Preview
@if($errors->has('markdown'))
{{ $errors->first('markdown') }}
@endif @endif