Add Vehicle Make
@if (count($errors) > 0)
@endif
@if(session()->has('message'))
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ session()->get('message') }}
@endif
{!! Form::open(['action' => 'VehicleMakeController@store', 'files' => true]) !!}
{!! Form::close() !!}
{!! Form::label('Make Name', 'Make Name') !!}
{!! Form::text('make_name', null, array('class' => 'form-control','id' => 'make_name','required' => 'required', 'autofocus' => 'autofocus','placeholder' => 'Make name'))!!}
{!! Form::file('image',array('class' => 'custom-file-input','id' => 'image')) !!}
{!! Form::label('Image', 'Choose file',array('class' => 'custom-file-label')) !!}
@if ($errors->has('file'))
{{ $errors->first('file') }}
@endif
{!! Form::checkbox('is_activated', '1',true) !!}
{!! Form::label('Active', 'Active') !!}