@if ($ajax)

{{ __('entities/notes.create.title', ['name' => $entity->name]) }}

@endif
{!! Form::open(array('route' => ['entities.entity_notes.store', $entity->id], 'method'=>'POST', 'data-shortcut' => "1")) !!} @include('cruds.notes._form')
@if (!$ajax) {!! trans('crud.or_cancel', ['url' => (!empty($cancel) ? $cancel : url()->previous() . (strpos(url()->previous(), '#notes') === false ? '#notes' : null))]) !!} @endif
{!! Form::close() !!}
@include('editors.editor')