contact page animation

main
alexanderroese 2024-06-20 19:43:05 +02:00
parent 7a0450079d
commit 74f29f06c3
1 changed files with 2 additions and 4 deletions

View File

@ -31,8 +31,6 @@
endif
-%}
{%- form 'contact', id: 'ContactForm', class: contact_form_class -%}
<p>Fragen oder Anregungen? Wir freuen uns auf deine Nachricht!</p>
{%- if form.posted_successfully? -%}
<dotlottie-player
id="shx-contact-form-contact-us-send"
@ -47,8 +45,6 @@
{% render 'icon-success' %}
{{ 'templates.contact.form.post_success' | t }}
</h2>
{%- elsif form.errors -%}
<div class="form__message">
<h2 class="form-status caption-large text-body" role="alert" tabindex="-1" autofocus>
@ -64,6 +60,8 @@
</a>
</li>
</ul>
{% else %}
<p>Fragen oder Anregungen? Wir freuen uns auf deine Nachricht!</p>
{%- endif -%}
<div class="contact__fields">
<div class="field">