@extends('layouts.app') @section('title', __('essentials::lang.document')) @section('content') @include('essentials::layouts.nav_essentials')

@lang('essentials::lang.all_documents') @lang('essentials::lang.manage_document')

@lang('essentials::lang.all_documents')

{!! Form::open(['url' => action('\Modules\Essentials\Http\Controllers\DocumentController@store'), 'id' => 'upload_document_form','files' => true, 'style' => 'display:none']) !!}
{!! Form::label('name', __('essentials::lang.document') . ":*") !!} {!! Form::file('name', ['required', 'accept' => implode(',', array_keys(config('constants.document_upload_mimes_types')))]) !!}

@includeIf('components.document_help_text')

{!! Form::label('description', __('essentials::lang.description') . ":")!!} {!! Form::textarea('description', null, ['class' => 'form-control', 'rows' => '4', 'cols' => '50']) !!}
 


{!! Form::close() !!}
@lang('essentials::lang.name') @lang('essentials::lang.description') @lang('essentials::lang.uploaded_date') @lang('essentials::lang.action')
@endsection @section('javascript') @endsection