<?xml version="1.0"?>
<t t-name="website_sale.delivery_form">
        <!-- Parameters description:
            - delivery_methods: The delivery methods to display, as a `delivery.carrier` recordset.
            - selected_dm_id: The selected delivery method id.
        -->
        <form id="o_delivery_form" class="o_delivery_form mb-4">
            <h5>Delivery method</h5>
            <ul t-if="delivery_methods" id="o_delivery_methods" class="list-group">
                <t t-foreach="delivery_methods" t-as="dm">
                    <li name="o_delivery_method" class="list-group-item text-muted o_outline">
                        <t t-call="website_sale.delivery_method">
                            <t t-set="is_selected" t-value="dm.id == selected_dm_id"/>
                        </t>
                    </li>
                </t>
            </ul>
            <div t-else="" class="alert alert-warning">
                <strong>No suitable delivery method could be found.</strong>
            </div>
        </form>
    </t>

    