{# add default jsConfig stuff here... e.g. cookiebar #}
{% do jsConfig().add({
'lang': app.request.locale,
'admin': editmode ? true : false,
'lazyImg': true,
'goToLink': true,
'toc': true
}) %}
{# Translations #}
{% do jsConfig('_translations').add({
'alert-notification.generic-error': 'Oops. Something went wrong. Please try again.'|trans,
'alert-notification.close': 'Close'|trans,
'whishlist.remove': 'wishlist.remove'|trans,
'whishlist.add': 'wishlist.add'|trans,
'form-validation.This field is required': 'form-validation.This field is required'|trans,
'form-validation.This field requires a valid e-mail address': 'form-validation.This field requires a valid e-mail address'|trans,
'form-validation.This field requires a number': 'form-validation.This field requires a number'|trans,
'form-validation.This field requires an integer value': 'form-validation.This field requires an integer value'|trans,
'form-validation.This field requires a valid website URL': 'form-validation.This field requires a valid website URL'|trans,
'form-validation.This field requires a valid telephone number': 'form-validation.This field requires a valid telephone number'|trans,
'form-validation.This fields length must be': 'form-validation.This fields length must be'|trans,
'form-validation.Minimum value for this field is': 'form-validation.Minimum value for this field is'|trans,
'form-validation.Maximum value for this field is': 'form-validation.Maximum value for this field is'|trans,
'form-validation.Please match the requested format': 'form-validation.Please match the requested format'|trans,
'form-validation.The two fields do not match': 'form-validation.The two fields do not match'|trans,
'form-validation.Please enter a correct value': 'form-validation.Please enter a correct value'|trans,
'pool-enquiry.no-added-enquiries': 'pool-enquiry.no-added-enquiries'|trans,
'qf.childAge': 'qf.Alter Kind'|trans,
'qf.Jahre': 'qf.Jahre'|trans
}) %}
{# Cookie-Bar #}
{{ include('Layout/includes/cookie_bar.html.twig') }}