@extends('admin.layouts.master') @section('content')
{{ trans('app.avatar') }}
{{ trans('app.' . $addressable_type) . ': ' . $addressable->name }} {{ trans('app.email') . ': ' . $addressable->email }} @if ($addressable->primaryAddress) {{ trans('app.phone') . ': ' . $addressable->primaryAddress->phone }} {{ trans('app.zip_code') . ': ' . $addressable->primaryAddress->zip_code }} @endif {{ trans('app.view_detail') }}

{{ trans('app.addresses') }}

@foreach ($addresses as $address)
{!! $address->toHtml() !!}
  @unless ($address->address_type == 'Primary') {!! Form::open(['route' => ['address.destroy', $address->id], 'method' => 'delete', 'class' => 'data-form', 'style' => 'display: inline;']) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.delete'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!} {!! Form::close() !!} @endunless
@if (config('system_settings.address_show_map')) @endif
@unless ($loop->last)
@endunless @endforeach
@endsection