{%- assign newsletter_form_id = 'newsletter-' | append: section_id -%} {% form 'customer', id: newsletter_form_id %} {% if form.posted_successfully? %}
{{ 'general.newsletter_form.newsletter_confirmation' | t }}
{% endif %} {% if form.errors and form.context == snippet_context %} {{ form.errors | default_errors }} {% endif %} {% endform %}