templates/includes/agenda-download-form.html.twig line 1
{% set file = content.downloadModalLink | split('/')|last %}
{% set filename = file | split('?')[0] %}
<form id="downloadform" name="download_form" action="" class="form" @submit.prevent="submit(); close()" x-data="downloadform('{{ content.downloadModalLink }}')">
<fieldset class="form__fieldset">
<div class="form__fields">
<div class="form-input-text">
<input type="text" id="name" name="" required="required"
class="form-input-text__input" placeholder="name">
<label class="form-input-text__label required" for="">
{{ content.downloadFormFirstname }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-text">
<input type="text" id="surname" name="" required="required"
class="form-input-text__input" placeholder="vorname">
<label class="form-input-text__label required" for="">
{{ content.downloadFormLastName }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-text">
<input type="text" id="company" name="" required="required"
class="form-input-text__input" placeholder="unternehmen">
<label class="form-input-text__label required" for="">
{{ content.downloadFormCompany }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-text">
<input type="email" id="email" name="" required="required"
class="form-input-text__input" placeholder="email">
<label class="form-input-text__label required" for="">
{{ content.downloadFormEmail }}
</label>
<div class="form-input-text__border"></div>
</div>
<div class="form-input-text">
<input type="text" id="phone" name="" required="required"
class="form-input-text__input" placeholder="telefon">
<label class="form-input-text__label required" for="">
{{ content.downloadFormPhone|default(app.request.locale|split('_')[0] == 'de' ? 'Telefon' : 'Phone' ) }}
</label>
<div class="form-input-text__border"></div>
</div>
<input type="hidden" id="download_form_url" name="download_form[url]">
<input type="hidden" id="download_form_language" name="download_form[language]" value="{{ app.request.locale|split('_')[0] }}">
<input type="hidden" id="download_form_referrer" name="download_form[referrer]"{% if content.downloadModalReferrer is defined and content.downloadModalReferrer %} value="{{ content.downloadModalReferrer }}"{% endif %}>
<input type="hidden" id="download_form_filename" name="download_form[filename]" value="{{ filename }}">
</div>
<div class="form__terms">
{{ content.downloadFormTerms | raw }}
</div>
<div class="form__actions">
<button type="submit" href="#file-to-download" class="button button--default">
<span class="button__inner">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M21 21H3M18 11L12 17M12 17L6 11M12 17V3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
{{ content.downloadFormButtonSend }}
</span>
</button>
</div>
</fieldset>
</form>