@foreach (config('translatable.locales') as $locale)
{{ LaravelLocalization::getSupportedLocales()[$locale]['native'] }}
{!! Form::text($locale."[name]", isset($branch) ? $branch->translate($locale)->name : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.'.$locale.'.name')]) !!}
@endforeach
{{ trans('dashboard.general.public_data') }}
{!! Form::email('email', null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.general.email')]) !!}
{!! Form::text('phone', null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.general.phone')]) !!}
{!! Form::select("product_list[]",$products->prepend("Select All",'all') , null, ['class' => 'form-control select_multiple' , 'multiple', 'data-placeholder' => trans('dashboard.product.products')]) !!}
{!! Form::select("country_id",$countries, isset($branch) ? $branch->city->country_id : null, ['class' => 'select2 form-control' , 'placeholder' => trans('dashboard.country.country') , 'onchange' => 'getCities(this.value)']) !!}
@if (isset($branch) && isset($cities))
{!! Form::select("city_id",$cities, isset($city_id) ? $city_id : null, ['class' => 'select2 form-control' , 'placeholder' => trans('dashboard.city.city')]) !!}
@endif
{{ trans('dashboard.map.location_on_map') }}
{!! Form::text('lat', null, ['id' => 'lat', 'class' => 'form-control','readonly']) !!}
{!! Form::text('lng', null , ['id' => 'lng', 'class' => 'form-control','readonly']) !!}
{!! Form::text('location', null , [ 'class' => "form-control" ,'id' => "searchBox" , 'placeholder' => trans('dashboard.map.write_your_location_address')]) !!}
@section('vendor_styles') @endsection @section('page_styles') @endsection @section('vendor_scripts') @endsection @section('page_scripts') @include('dashboard.branch.form_map') @endsection