<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="remove_external_snippets" inherit_id="website.external_snippets">
    <xpath expr="//t[@t-install='website_payment']" position="replace"/>
</template>

<template id="snippets" inherit_id="website.snippets" name="Snippet Donation">
    <xpath expr="//t[@id='snippet_donation_hook']" position="replace">
        <t t-snippet="website_payment.s_donation" string="Donation" t-forbid-sanitize="form" group="contact_and_forms"/>
    </xpath>
    <xpath expr="//t[@id='snippet_donation_button_hook']" position="replace">
        <t t-snippet="website_payment.s_donation_button" string="Donation Button" t-thumbnail="/website/static/src/img/snippets_thumbs/s_donation_button.svg" t-forbid-sanitize="form" t-grid-column-span="3"/>
    </xpath>
    <xpath expr="//t[@id='snippet_supported_payment_methods_hook']" position="replace">
        <t
            t-snippet="website_payment.s_supported_payment_methods"
            string="Supported Payment Methods"
            t-thumbnail="/website_payment/static/img/s_supported_payment_methods.svg"
        />
     </xpath>
</template>

</odoo>
