@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.addressBook.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('user')) {{ $errors->first('user') }} @endif {{ trans('cruds.addressBook.fields.user_helper') }}
@if($errors->has('contact_person')) {{ $errors->first('contact_person') }} @endif {{ trans('cruds.addressBook.fields.contact_person_helper') }}
@if($errors->has('address_line_1')) {{ $errors->first('address_line_1') }} @endif {{ trans('cruds.addressBook.fields.address_line_1_helper') }}
@if($errors->has('address_line_2')) {{ $errors->first('address_line_2') }} @endif {{ trans('cruds.addressBook.fields.address_line_2_helper') }}
@if($errors->has('city')) {{ $errors->first('city') }} @endif {{ trans('cruds.addressBook.fields.city_helper') }}
@if($errors->has('state')) {{ $errors->first('state') }} @endif {{ trans('cruds.addressBook.fields.state_helper') }}
@if($errors->has('country')) {{ $errors->first('country') }} @endif {{ trans('cruds.addressBook.fields.country_helper') }}
@if($errors->has('zip_code')) {{ $errors->first('zip_code') }} @endif {{ trans('cruds.addressBook.fields.zip_code_helper') }}
is_default || old('is_default', 0) === 1 ? 'checked' : '' }}>
@if($errors->has('is_default')) {{ $errors->first('is_default') }} @endif {{ trans('cruds.addressBook.fields.is_default_helper') }}
@endsection