<?xml version="1.0"?>
<t name="Kanban address" t-name="portal.address_kanban">
        <div name="address_card" t-attf-class="card o_address_kanban_card position-relative h-100 #{                 selected and 'bg-primary border border-primary'             }" t-att-data-address-type="address_type" t-att-data-partner-id="contact.id">
            <div class="card-body d-flex flex-column justify-content-between">
                <t t-out="contact" t-options="dict(widget='contact', fields=['name', 'address'], no_marker=True)"/>
                <t t-set="icon_classes" t-value="'fa text-primary fs-5 position-absolute mt-1 '"/>
                <div class="mt-3 mx-1">
                    <i t-if="is_user_address" t-att-class=" icon_classes + 'fa-id-card'" title="Your Account Address"/>
                    <i t-elif="contact.type=='delivery'" t-att-class=" icon_classes + 'fa-solid fa-truck'" title="Delivery Address"/>
                    <i t-elif="contact.type=='invoice'" t-att-class=" icon_classes + 'fa-file-text'" title="Billing Address"/>
                    <div t-if="can_be_edited" class="text-end">
                        <t t-set="address_update_url" t-value="address_update_url or (new_address_url + '&amp;partner_id=' + str(contact.id))"/>
                        <a name="card_address_ref" t-att-href="address_update_url" class="js_edit_address btn btn-link fw-bold p-0 mt-auto" role="button" title="Edit this address" aria-label="Edit this address">
                            <i class="fa fa-pencil me-1"/>
                            Edit
                        </a>
                        <span t-if="show_removal">
                            <span class="mx-2">|</span>
                            <a class="btn btn-link text-danger fw-bold p-0 o_remove_address" role="button" title="Remove address" aria-label="Remove address" t-att-data-partner-id="contact.id">
                                Remove
                            </a>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </t>

    