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