- {!! __('Dashboard') !!}
- {!! __('vehicle_model_list') !!}
- {!! __('add_vehicle_model') !!}
Add Vehicle Model
@if (count($errors) > 0)
@endif
@if(session()->has('message'))
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ session()->get('message') }}
@endif
{!! Form::open(array('route'=>array('vehicle-model.store'), 'method'=>'post','files' => true,'id' => 'ajax-submit')) !!}
{!! Form::close() !!}
{!! Form::label('Vehicle Type', 'Vehicle Type') !!}
{!! Form::label('Vehicle Make', 'Vehicle Make') !!}
{!! Form::label('Model Name', 'Model Name') !!}
{!! Form::text('model_name', null, array('class' => 'form-control','id' => 'model_name','required' => 'required', 'autofocus' => 'autofocus','placeholder' => 'Model name'))!!}
{!! Form::label('Image',__('image')) !!}
{!! Form::file('image',array('class' => 'custom-file-input','id' => 'image')) !!}
@if ($errors->has('file'))
{{ $errors->first('file') }}
@endif
{!! Form::checkbox('is_activated', '1',true) !!}
{!! Form::label('Active', 'Active') !!}