<?xml version="1.0"?>
<t t-name="website_mass_mailing.newsletter_subscribe_options_common">
    <div data-js="mailing_list_subscribe" t-att-data-selector="_selector" t-att-data-exclude="_exclude" t-att-data-target="_target">
        <we-select string="Newsletter" data-attribute-name="listId" data-dependencies="!form_opt"/>
    </div>
    <div data-js="recaptchaSubscribe" t-att-data-selector="_selector" t-att-data-exclude="_exclude" t-att-data-target="_target">
        <t t-set="recaptcha_public_key" t-value="request.env['ir.config_parameter'].sudo().get_param('recaptcha_public_key')"/>
        <we-checkbox t-if="recaptcha_public_key" string="Show reCaptcha Policy" data-toggle-recaptcha-legal="" data-no-preview="true"/>
    </div>
</t>

