@if(isset($id)) {!! Form::model($data, ['route' => ['dispatch.update', $id], 'method' => 'patch', 'data-toggle'=>'validator' ]) !!} @else {!! Form::open(['route' => ['dispatch.store'], 'method' => 'post', 'data-toggle'=>'validator' ]) !!} @endif

{{ $pageTitle }}

{!! Form::close() !!}
@section('bottom_script') @endsection