@extends('layouts.appnew') @section('title') Edit Locations @endsection @section('navs') @endsection @section('content') @include ('patient.styles') @include ('common.errors') @include ('common.image_viewer')
{!! Form::open(['url' => route('vehicle_route_record.update_route', [$vehicle_route_record->id]), 'id' => 'idForm', 'files' => true]) !!} {!! EasyForm::setErrors($errors) !!}
{!! EasyForm::location('location', null, old('location', $vehicle_route_record->location), ['placeholder' => 'Location'])!!} {!! EasyForm::input('location_latlong', null, old('location_latlong', $vehicle_route_record->location_latlong), ['readonly' => true, 'placeholder' => 'Autofill'])!!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@include ('layouts.map', ['callback' => 'initMapCustom']) @endsection