<?xml version="1.0"?>
<data name="Newsletter Subscribe Options" inherit_id="website.snippet_options">
    <xpath expr="//*[@t-set='so_snippet_addition_selector']" position="inside" t-translation="off">, .o_newsletter_popup</xpath>
    <xpath expr="//div[1]" position="before">
        <div data-js="NewsletterLayout" data-selector=".s_newsletter_block">
            <we-select string="Template" data-name="newsletter_template_opt" data-attribute-name="newsletterTemplate" data-attribute-default-value="email">
                <we-button title="Email Subscription" string="Email Subscription" data-select-template="website_mass_mailing.s_newsletter_block_default_template" data-select-data-attribute="email" data-name="email_opt"/>
                <we-button title="Form Subscription" string="Form Subscription" data-select-template="website_mass_mailing.s_newsletter_block_form_template" data-select-data-attribute="form" data-name="form_opt"/>
            </we-select>
        </div>
        <t t-call="website_mass_mailing.newsletter_subscribe_options_common">
            <t t-set="_selector">.o_newsletter_popup</t>
            <t t-set="_target">.s_newsletter_list</t>
        </t>
        <t t-call="website_mass_mailing.newsletter_subscribe_options_common">
            <t t-set="_selector">.s_newsletter_list</t>
            <t t-set="_exclude">.s_newsletter_block .s_newsletter_list, .o_newsletter_popup .s_newsletter_list</t>
        </t>
        <div data-selector=".js_subscribe" data-drop-near="p, h1, h2, h3, blockquote, .card"/>
    </xpath>
</data>

