@if ($xPanel->hasAccess('list'))
{{ trans('admin::messages.back_to_all') }} {!! $xPanel->entity_name_plural !!}
@endif
{!! Form::open(array('url' => $xPanel->route, 'method' => 'post', 'files' => $xPanel->hasUploadFields('create'))) !!}
@if(view()->exists('vendor.admin.panel.' . $xPanel->entity_name . '.form_content'))
@include('vendor.admin.panel.' . $xPanel->entity_name . '.form_content', ['fields' => $xPanel->getFields('create')])
@elseif(view()->exists('vendor.admin.panel.form_content'))
@include('vendor.admin.panel.form_content', ['fields' => $xPanel->getFields('create')])
@else
@include('admin::panel.form_content', ['fields' => $xPanel->getFields('create')])
@endif
{!! Form::close() !!}