{% set newsletterForm = newsletterForm %}
{% form_theme newsletterForm 'form/themes/default.html.twig' %}

{{ form_start(newsletterForm, {
	'attr': {
		'novalidate': true,
		'class': 'ajax',
		'allow-multiple-submissions': true,
		'action': pimcore_url({ 'language': language }, 'newsletter-subscribe')
	},
}) }}


<div class="form-group">
	{{ form_widget(newsletterForm['email'], {
		'attr': {
			'class': 'form-control',
			'placeholder': 'label_newsletter',
		},
	}) }}
	{{ form_errors(newsletterForm['email']) }}
</div>

{{ form_end(newsletterForm) }}
