<?xml version="1.0"?>
<t name="Address Management" t-name="website_sale.address">
        <t t-call="website_sale.checkout_layout">
            <div class="o_customer_address_fill">
                <div>
                    <t t-if="not is_anonymous_cart">
                        <h4 class="mb-3">
                            <t t-if="partner_sudo">Edit address</t>
                            <t t-else="">New address</t>
                        </h4>
                    </t>
                    <div t-if="use_delivery_as_billing and not only_services and partner_sudo" class="alert alert-warning" role="alert">
                        <p class="mb-0">
                            You are editing your <b>delivery and billing</b> addresses
                            at the same time!<br/>
                            If you want to modify your billing address, create a
                            <a class="o_translate_inline" href="/shop/address?address_type=billing">new address</a>.
                        </p>
                    </div>
                    <div id="errors"/> <!-- for js -->
                    <form action="/shop/address/submit" method="post" name="address_form" class="address_autoformat" t-att-data-company-country-code="res_company.country_id.code" t-att-data-submit-url="'/shop/address/submit'">
                        <t t-if="is_anonymous_cart">
                            <div class="d-flex flex-column flex-md-row align-items-center justify-content-between mb-1">
                                <h4 class="w-100 w-md-auto">Details</h4>
                                <div t-if="website.account_on_checkout != 'disabled'" class="o_address_signin d-flex d-md-block justify-content-between align-items-center p-3 p-md-0 w-100 text-md-end">
                                    <span class="align-middle">Already have an account?</span>
                                    <a role="button" href="/web/login?redirect=/shop/checkout" class="btn btn-primary ms-2">
                                        Sign in
                                    </a>
                                </div>
                            </div>
                        </t>
                        <div class="row">
                            <t t-call="website_sale.address_form_fields"/>
                        </div>
                    </form>
                </div>
            </div>
        </t>
    </t>

    