@if(isset($id)) {!! Form::model($data, ['route' => ['driver.update', $id], 'method' => 'patch' , 'enctype' => 'multipart/form-data']) !!} @else {!! Form::open(['route' => ['driver.store'], 'method' => 'post', 'enctype' => 'multipart/form-data']) !!} @endif

{{ $pageTitle }}

User-Profile
{{ __('message.only') }} @foreach(config('constant.IMAGE_EXTENTIONS') as $extention) .{{ $extention }} @endforeach {{ __('message.allowed') }}
{{ Form::radio('status', 'active' , old('status') || true, ['class' => 'form-check-input', 'id' => 'status-active' ]) }} {{ Form::label('status-active', __('message.active'), ['class' => 'form-check-label' ]) }}
{{ Form::radio('status', 'inactive', old('status') , ['class' => 'form-check-input', 'id' => 'status-inactive' ]) }} {{ Form::label('status-inactive', __('message.inactive'), ['class' => 'form-check-label' ]) }}
{{ Form::radio('status', 'pending', old('status') , ['class' => 'form-check-input', 'id' => 'status-pending' ]) }} {{ Form::label('status-pending', __('message.pending'), ['class' => 'form-check-label' ]) }}
{{ Form::radio('status', 'banned', old('status') , ['class' => 'form-check-input', 'id' => 'status-banned' ]) }} {{ Form::label('status-banned', __('message.banned'), ['class' => 'form-check-label' ]) }}
{{ Form::radio('status', 'reject', old('status') , ['class' => 'form-check-input', 'id' => 'status-reject' ]) }} {{ Form::label('status-reject', __('message.reject'), ['class' => 'form-check-label' ]) }}

{{ $pageTitle }} {{ __('message.information') }}

{!! Form::close() !!}