@include('document::public.document.partial.header')
@include('document::public.document.partial.aside')
{{$document->title}}

{!! $document['title'] !!}

{!! $document['file_upload'] !!}

{!! $document['flag_icon'] !!}

{!! $document['category'] !!}

{!! $document['order'] !!}

{!! $document['status'] !!}
{!! Form::text('title') -> label(trans('document::document.label.title')) -> required() -> placeholder(trans('document::document.placeholder.title'))!!}
{!! $document->files('file') ->mime(config('filer.allowed_extensions')) ->url($document->getUploadUrl('file')) ->dropzone()!!}
{!! $document ->files('file') ->editor()!!}
{!! $document->files('image') ->url($document->getUploadUrl('image')) ->mime(config('filer.image_extensions')) ->dropzone()!!}
{!! $document->files('image') ->editor()!!}
{!! Form::select('category') -> options(trans('document::document.options.category')) -> label(trans('document::document.label.category')) -> required() -> placeholder(trans('document::document.placeholder.category'))!!}
{!! Form::select('order') -> options(trans('document::document.options.order')) -> label(trans('document::document.label.order')) -> required() -> placeholder(trans('document::document.placeholder.order'))!!}
{!! Form::select('status') -> options(trans('document::document.options.status')) -> label(trans('document::document.label.status')) -> required() -> placeholder(trans('document::document.placeholder.status'))!!}