@extends(EcommerceHelper::viewPath('customers.master')) @section('content')

{{ __('Address books') }}


{!! Form::open(['route' => ['customer.address.edit', $address->id]]) !!}
{{ __('Full Name') }}: {!! Form::error('name', $errors) !!}
{{ __('Email') }}: {!! Form::error('email', $errors) !!}
{{ __('Phone') }}: {!! Form::text('phone', old('phone', $address->phone), ['id' => 'phone', 'class' => 'form-control']) !!} {!! Form::error('phone', $errors) !!}
@if (EcommerceHelper::isUsingInMultipleCountries())
{!! Form::error('country', $errors) !!} @else @endif
{{ __('State') }}: @if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation()) @else @endif {!! Form::error('state', $errors) !!}
{{ __('City') }}: @if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation()) @else @endif {!! Form::error('city', $errors) !!}
{{ __('Address') }}: {!! Form::error('address', $errors) !!}
@if (EcommerceHelper::isZipCodeEnabled())
{!! Form::error('zip_code', $errors) !!}
@endif
{!! Form::close() !!}
@endsection