@foreach (array_chunk(config('translatable.locales'),1) as $chunk)
@foreach ($chunk as $locale)
{!! Form::text($locale."[name]", isset($app_offer) ? $app_offer->translate($locale)->name : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.'.$locale.'.name'),'id' => "modern-{{ $locale }}"]) !!}
{!! Form::textarea($locale."[desc]", isset($app_offer) ? $app_offer->translate($locale)->desc : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.'.$locale.'.desc'),'id' => "modern-{{ $locale }}"]) !!}
@endforeach
@endforeach
{{ trans('dashboard.general.public_data') }}
{!! Form::radio('user_type', "client", !isset($app_offer) || (isset($app_offer) && $app_offer->user_type == "client") ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'client']) !!}
{!! Form::radio('user_type', "driver", isset($app_offer) && $app_offer->user_type == "driver" ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'driver']) !!}
{!! Form::radio('user_type', "client_and_driver", isset($app_offer) && $app_offer->user_type == "client_and_driver" ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'client_and_driver']) !!}
{!! Form::radio('is_active', 1, !isset($client) || (isset($client) && $client->is_active) ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_active']) !!}
{!! Form::radio('is_active', 0, isset($client) && !$client->is_active ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_deactive']) !!}
@if (isset($app_offer)) @else @endif
@if (isset($app_offer)) @else @endif
{!! trans('dashboard.general.previous') !!}
@section('vendor_styles') @endsection @section('page_styles') @endsection @section('vendor_scripts') @endsection @section('page_scripts') @endsection