@extends('layouts.master') @section('page_title') @if(isset($page_title)) {{ $page_title }} @endif @endsection @section('content')
Update Document Details @include('commons.notifications')
{{-- start of content --}}

{!! Form::model($document, [ 'method' => 'PATCH', 'url' => ['generaldocuments', $document->id], 'files' => 'true', 'class' => 'form-horizontal form-label-left' ]) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control' , 'id' => 'documentOneName', 'placeholder' => 'Enter name of document']) !!} {!! $errors->first('document_one_name', '

:message

') !!}
{!! Form::file('document_one', null, ['class' => 'form-control' , 'id' => 'documentOne', 'placeholder' => 'Select file to upload']) !!} {!! $errors->first('document_one', '

:message

') !!}

This will replace the existing file

{!! Form::close() !!}
{{-- end of x_content --}}
{{-- end of x_panel --}}
@endsection @section('javascript') @endsection