@extends('layouts.appnew') @section('title') Edit Location @endsection @section('navs') @endsection @section('content') @include ('common.flash')
{!! Form::open(['url' => route('vehicle_movement_location.update', $vehicle_movement_location->id)]) !!} {!! EasyForm::setErrors($errors) !!}
{!! EasyForm::location('location', null, old('location', $vehicle_movement_location->location), ['placeholder' => 'Location'])!!} {!! EasyForm::input('location_latlong', null, old('location_latlong', $vehicle_movement_location->location_latlong), ['readonly' => true, 'placeholder' => 'Autofill'])!!} {!! EasyForm::datetime('time', $vehicle_movement_location->label('time'), old('time', $vehicle_movement_location->time))!!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@include ('layouts.map', ['callback' => 'initMapCustom']) @endsection