{% import '@SyliusShop/Macro/buttons.html.twig' as buttons %}

<div class="address-card address-card--default" id="sylius-default-address" {{ sylius_test_html_attribute('default-address') }}>
    <div class="address-card-content default" {{ sylius_test_html_attribute('address', "%s %s"|format(address.firstName, address.lastName)) }}>
        <div>
            {% include '@SyliusShop/Common/_address.html.twig' with {'address': address} %}
        </div>
        <div class="buttons">
            <div {{ sylius_test_html_attribute('edit-button') }}>{{ buttons.edit(path('sylius_shop_account_address_book_update', {'id': address.id})) }}</div>
            {{ buttons.delete(path('sylius_shop_account_address_book_delete', {'id': address.id}), null, true, address.id) }}
        </div>
        <div class="address-label">
            {{ 'sylius.ui.your_default_address'|trans }}
        </div>
    </div>
</div>
