@extends('layouts.appnew')
@section('title')
New Vehicle Deatils
@endsection
@section('navs')
View All
@endsection
@section('content')
@include ('common.flash')
{!! Form::open(['url' => route('vehicle.save')]) !!}
{!! EasyForm::setErrors($errors) !!}
{!! EasyForm::select('type', $vehicle->label('type'), old('type', ''), AppHelper::options('types_of_vehicles')) !!}
{!! EasyForm::input('model', $vehicle->label('model'), old('model', '')) !!}
{!! EasyForm::input('number', $vehicle->label('number'), old('number', '')) !!}
{!! EasyForm::submit('Submit') !!}
{!! Form::close() !!}
@endsection