@extends('layouts.app')

@section('title', 'Edit Address')

@section('content')
<div class="container py-5">
    <div class="row g-4">
        <div class="col-lg-3">
            @include('partials.account-sidebar')
        </div>
        <div class="col-lg-9">
            <div class="border rounded p-4 bg-white">
                <h5 class="font-serif mb-3">Edit Address</h5>
                <form action="{{ route('account.addresses.update', $address) }}" method="POST">
                    @csrf
                    @method('PATCH')
                    @include('account.addresses._form')
                    <button type="submit" class="btn btn-terracotta mt-4">Update Address</button>
                </form>
            </div>
        </div>
    </div>
</div>
@endsection
