templates/includes/form.html.twig line 1
<form name="{{ formName }}" method="post" class="form" id="{{ id }}" @submit.prevent="submit">
<fieldset class="form__fieldset" :disabled="submitted">
<div class="form__fields">
<div class="form-input-text">
<input type="text" id="{{ formName }}_vorname" name="{{ formName }}[vorname]" required="required"
class="form-input-text__input" placeholder="vorname">
<label class="form-input-text__label required" for="{{ formName }}_vorname">
{{ firstName }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-text">
<input type="text" id="{{ formName }}_name" name="{{ formName }}[name]" required="required"
class="form-input-text__input" placeholder="name">
<label class="form-input-text__label required" for="contact_form_name">
{{ lastName }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-text">
<input type="text" id="{{ formName }}_unternehmen" name="{{ formName }}[unternehmen]" required="required"
class="form-input-text__input" placeholder="unternehmen">
<label class="form-input-text__label required" for="{{ formName }}_unternehmen">
{{ unternehmen }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-text">
<input type="email" id="{{ formName }}_email" name="{{ formName }}[email]" required="required"
class="form-input-text__input" placeholder="email">
<label class="form-input-text__label required" for="{{ formName }}_email">
{{ email }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-textarea">
<textarea id="{{ formName }}_nachricht" name="{{ formName }}[nachricht]"
class="form-input-textarea__input" placeholder="nachricht"></textarea>
<label class="form-input-textarea__label" for="{{ formName }}_nachricht">
{{ message }}
</label>
<div class="form-input-textarea__border"></div>
</div>
</div>
<div class="form__fields">
<div class="form-input-checkbox">
<input type="checkbox" id="{{ formName }}_newsletter" name="{{ formName }}[newsletter]"
class="form-input-checkbox__input" value="1">
<div class="form-input-checkbox__control"></div>
<label class="form-input-checkbox__label" for="{{ formName }}_newsletter">
{{ subscription|raw }}
</label>
</div>
<div class="form-input-checkbox">
<input type="checkbox" id="{{ formName }}_terms" name="{{ formName }}[terms]" required="required"
class="form-input-checkbox__input" value="1">
<div class="form-input-checkbox__control"></div>
<label for="contact_form_terms" class="form-input-checkbox__label">
{{ terms|raw }}
</label>
</div>
<input type="hidden" id="{{ formName }}_url" name="{{ formName }}[url]">
<input type="hidden" id="{{ formName }}_language" name="{{ formName }}[language]" value="{{ app.request.locale|split('_')[0] }}">
<input type="hidden" id="{{ formName }}_referrer" name="{{ formName }}[referrer]"{% if referrer is defined and referrer %} value="{{ referrer }}"{% endif %}>
</div>
<div class="form-actions">
<button class="button button--default" id="person-contactform-button" type="submit">
<span class="button__inner" x-show="!success">
{{ send }}
</span>
<span class="button__inner" x-show="success" style="display: none;">
{{ sended }}
</span>
</button>
<div class="form__loader" x-show="submitted && !success && !failure" style="display: none;">
<div class="lds-ring">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<div class="form__check" x-show="success" style="display: none;">
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M8 21a1 1 0 01-.707-.293L.586 14 2 12.586l5.906 5.906L21.825.6 23.4 1.824 8.79 20.614a1 1 0 01-.728.386H8z" fill="#000"></path>
</svg>
</div>
</div>
<div class="form__success" x-show="success" x-transition="" style="display: none;">
{{ success|raw }}
</div>
<div class="failed" x-show="failure" x-transition="" style="display: none;">
{{ error|raw }}
</div>
</fieldset>
{% if id == 'person-contactform' %}
<input type="hidden" id="person-contactform_contact" name="{{ formName }}[contact]">
{% endif %}
</form>