custom newsletter

main
alexanderroese 2024-06-21 20:29:32 +02:00
parent 9a0771eaea
commit 3d376401e4
1 changed files with 13 additions and 14 deletions

View File

@ -1,7 +1,7 @@
{% form 'customer', class: 'shx-newsletter-form' %}
<input type="hidden" name="contact[tags]" value="newsletter">
<div
class="{% comment %}newsletter-form__field-wrapper{% endcomment %}{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %} shx-newsletter-container"
class="{% comment %}newsletter-form__field-wrapper{% endcomment %}{% if settings.animations_reveal_on_scroll %}scroll-trigger animate--slide-in{% endif %} shx-newsletter-container"
{% if settings.animations_reveal_on_scroll %}
data-cascade
style="--animation-order: {{ forloop.index }};"
@ -64,18 +64,17 @@
{%- endif -%}
</div>
{%- if form.posted_successfully? -%}
<h3
class="newsletter-form__message newsletter-form__message--success form__message"
id="Newsletter-success--{{ section.id }}"
tabindex="-1"
autofocus
style="margin-top: 10px"
>
{% render 'icon-success' -%}
{{- 'newsletter.success' | t }}
</h3>
{%- endif -%}
{%- if form.posted_successfully? -%}
<h3
class="newsletter-form__message newsletter-form__message--success form__message"
id="Newsletter-success--{{ section.id }}"
tabindex="-1"
autofocus
style="margin-top: 10px"
>
{% render 'icon-success' -%}
{{- 'newsletter.success' | t }}
</h3>
{%- endif -%}
</div>
{% endform %}