Page Information
{{ Form::label('name', 'Page Name:') }} {{ Form::text('name', null, ['class' => 'form-control']) }}

{{ $errors->first('name') }}

{{ Form::label('icon', 'Icon:') }} {{ Form::text('icon', null, ['class' => 'form-control']) }}

{{ $errors->first('icon') }}

 Type
{{ Form::label('type', 'Page Type') }} {{ Form::select('type', \App\Models\Enums\PageType::select(false), null, [ 'id' => 'content-type-select', 'class' => 'form-control select2', ]) }}

{{ $errors->first('type') }}

 Content
{{ Form::textarea('body', null, ['id' => 'editor', 'class' => 'editor']) }}

{{ $errors->first('body') }}

@if (!empty($page)) {{ Form::hidden('id') }} @endif {{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }} Cancel