@extends('layouts.appnew') @section('title') New Route Deatils @endsection @section('navs') @endsection @section('content') @include ('common.flash')
{!! Form::open(['url' => route('vehicle_route_record.save', [$vehicle_route->id])]) !!} {!! EasyForm::setErrors($errors) !!}
{!! EasyForm::input('name', $vehicle_route_record->label('name'), old('name', ''))!!} {!! EasyForm::location('location', $vehicle_route_record->label('location'), old('location', ''))!!} {!! EasyForm::input('location_latlong', $vehicle_route_record->label('location_latlong'), old('location_latlong', ''), ['readonly' => true, 'placeholder' => 'Autofill'])!!} {!! EasyForm::time('start_time', $vehicle_route_record->label('start_time'), old('start_time', ''))!!} {!! EasyForm::time('end_time', $vehicle_route_record->label('end_time'), old('end_time', ''))!!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@include ('layouts.map') @endsection