@extends('main') @section('styles') @endsection @section('content')
@if (session()->has('success_message'))
{{ session()->get('success_message') }}
@endif @if (session()->has('error_message'))
{{ session()->get('error_message') }}
@endif
@foreach (\Auth::user()->addresses as $key => $address)
{!! $address->region !!}
{!! Optional($address->destination)->title !!}
{!! $address->address !!}
{!! __('Edit') !!}
@endforeach @if (count(\Auth::user()->addresses) < 4 )
{!! __('New address') !!}
{!! __('Add new address') !!}
{!! __('New') !!}
@endif
@endsection @section('scripts') @endsection