{!! Form::open(array('route' => $route, 'method' => 'POST' ,'id' => 'ajaxSaveAddress')) !!} {!! Form::hidden('latitude',$result->latitude, ['id'=>'latitude']) !!} {!! Form::hidden('longitude',$result->longitude, ['id'=>'longitude']) !!} {!! Form::hidden('address_id',$result->id, ['id'=>'address_id']) !!} @if(session('customer_id') > 0)
{!! Form::text("type", $result->type, ['class'=>'form-control','id'=>'type','placeholder'=>__('v2/front_site.address_type') ." " . __('v2/front_site.address_type_example')]) !!}
{!! Form::checkbox('default', '1', ($result->is_default==1)?true:false,['style' => 'width:unset']) !!}
@endif

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