<?xml version="1.0" encoding="UTF-8"?>

<templates xml:space="preserve">

    <t t-name="payment.deleteTokenDialog">
        <div>
            <p>Are you sure you want to delete this payment method?</p>
            <t t-if="linkedRecordsInfo.length > 0">
                <p>It is currently linked to the following documents:</p>
                <ul>
                    <li t-foreach="linkedRecordsInfo" t-as="documentInfo" t-key="documentInfoIndex">
                        <a t-att-title="documentInfo.description"
                           t-att-href="documentInfo.url"
                           t-esc="documentInfo.name"
                        />
                    </li>
                </ul>
            </t>
        </div>
    </t>

</templates>
