{% extends rootPath ~ '/base.html.twig' %}
{% block javascripts %}
{{ parent() }}
<script type="text/javascript">
reCAPTCHA_site_key = '{{ reCAPTCHA_site_key }}';
</script>
<script src="https://www.google.com/recaptcha/api.js?render={{ reCAPTCHA_site_key }}"></script>
{% endblock %}
{% block form %}
{{ include('tenants/tenant1/parts/support-form.html.twig') }}
{% endblock %}
{% block body_javascript %}
{{ parent() }}
<script src="{{ asset('tenants/tenant1/js/formValidate.js?v=23-10-2022') }}"></script>
<script src="{{ asset('tenants/tenant1/js/support.js?v=23-10-2022') }}"></script>
<script>
(()=>{
Support.source = '{{ app.request.get('_route') }}';
Support.userDefining = {% if app.user is not null %}true{% else %}false{% endif %};
Support.type = '{{ app.request.get('type') ?? '' }}';
Support.messages = {
success: '{{ 'Support.success'|transByTenant }}',
failed: '{{ 'Support.failed'|transByTenant }}',
};
Support.init();
})();
</script>
{% endblock %}