<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig */
class __TwigTemplate_bc67ab76675eda36e5e2d571e1ca58ff extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'cms_form_contact' => [$this, 'block_cms_form_contact'],
'cms_form_contact_select_salutation' => [$this, 'block_cms_form_contact_select_salutation'],
'cms_form_contact_input_first_name' => [$this, 'block_cms_form_contact_input_first_name'],
'cms_form_contact_input_last_name' => [$this, 'block_cms_form_contact_input_last_name'],
'cms_form_contact_input_email' => [$this, 'block_cms_form_contact_input_email'],
'cms_form_contact_input_phome' => [$this, 'block_cms_form_contact_input_phome'],
'cms_form_contact_input_subject' => [$this, 'block_cms_form_contact_input_subject'],
'cms_form_contact_comment_textarea' => [$this, 'block_cms_form_contact_comment_textarea'],
'cms_form_contact_required_fields_info' => [$this, 'block_cms_form_contact_required_fields_info'],
'cms_form_contact_captcha' => [$this, 'block_cms_form_contact_captcha'],
'cms_form_contact_privacy' => [$this, 'block_cms_form_contact_privacy'],
'cms_form_contact_submit' => [$this, 'block_cms_form_contact_submit'],
'cms_form_contact_hidden_fields' => [$this, 'block_cms_form_contact_hidden_fields'],
'cms_form_contact_csrf' => [$this, 'block_cms_form_contact_csrf'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig"));
// line 1
$this->displayBlock('cms_form_contact', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_cms_form_contact($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact"));
// line 2
echo " <form action=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["action"] ?? null));
echo "\"
method=\"post\"
data-form-csrf-handler=\"true\"
data-form-validation=\"true\">
<div class=\"form-content\">
<div class=\"";
// line 8
echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html", null, true);
echo "\">
";
// line 9
$this->displayBlock('cms_form_contact_select_salutation', $context, $blocks);
// line 17
echo "
";
// line 18
$this->displayBlock('cms_form_contact_input_first_name', $context, $blocks);
// line 30
echo "
";
// line 31
$this->displayBlock('cms_form_contact_input_last_name', $context, $blocks);
// line 43
echo " </div>
<div class=\"";
// line 45
echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html", null, true);
echo "\">
";
// line 46
$this->displayBlock('cms_form_contact_input_email', $context, $blocks);
// line 58
echo "
";
// line 59
$this->displayBlock('cms_form_contact_input_phome', $context, $blocks);
// line 71
echo " </div>
<div class=\"";
// line 73
echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html", null, true);
echo "\">
";
// line 74
$this->displayBlock('cms_form_contact_input_subject', $context, $blocks);
// line 85
echo " </div>
<div class=\"";
// line 87
echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html", null, true);
echo "\">
";
// line 88
$this->displayBlock('cms_form_contact_comment_textarea', $context, $blocks);
// line 100
echo " </div>
";
// line 102
$this->displayBlock('cms_form_contact_required_fields_info', $context, $blocks);
// line 105
echo "
";
// line 106
$this->displayBlock('cms_form_contact_captcha', $context, $blocks);
// line 109
echo "
";
// line 110
$this->displayBlock('cms_form_contact_privacy', $context, $blocks);
// line 115
echo "
";
// line 116
$this->displayBlock('cms_form_contact_submit', $context, $blocks);
// line 119
echo " </div>
";
// line 121
$this->displayBlock('cms_form_contact_hidden_fields', $context, $blocks);
// line 140
echo " </form>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_cms_form_contact_select_salutation($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_select_salutation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_select_salutation"));
// line 10
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-select-salutation.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 10)->display(twig_array_merge($context, ["additionalClass" => "col-md-4", "required" => true]));
// line 16
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 18
public function block_cms_form_contact_input_first_name($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_first_name"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_first_name"));
// line 19
echo " ";
$context["firstNameFieldRequired"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.basicInformation.firstNameFieldRequired") == true);
// line 20
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 20)->display(twig_array_merge($context, ["fieldName" => "firstName", "required" => // line 23
($context["firstNameFieldRequired"] ?? null), "additionalClass" => "col-md-4", "label" => "account.personalFirstNameLabel", "placeholder" => "account.personalFirstNamePlaceholder"]));
// line 29
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_cms_form_contact_input_last_name($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_last_name"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_last_name"));
// line 32
echo " ";
$context["lastNameFieldRequired"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.basicInformation.lastNameFieldRequired") == true);
// line 33
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 33)->display(twig_array_merge($context, ["fieldName" => "lastName", "required" => // line 36
($context["lastNameFieldRequired"] ?? null), "additionalClass" => "col-md-4", "label" => "account.personalLastNameLabel", "placeholder" => "account.personalLastNamePlaceholder"]));
// line 42
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 46
public function block_cms_form_contact_input_email($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_email"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_email"));
// line 47
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 47)->display(twig_array_merge($context, ["fieldName" => "email", "type" => "email", "required" => true, "additionalClass" => "col-md-6", "label" => "account.loginMailLabel", "placeholder" => "account.loginMailPlaceholder"]));
// line 57
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 59
public function block_cms_form_contact_input_phome($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_phome"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_phome"));
// line 60
echo " ";
$context["phoneNumberFieldRequired"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.basicInformation.phoneNumberFieldRequired") == true);
// line 61
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 61)->display(twig_array_merge($context, ["fieldName" => "phone", "required" => // line 64
($context["phoneNumberFieldRequired"] ?? null), "additionalClass" => "col-md-6", "label" => "account.personalPhoneLabel", "placeholder" => "account.personalPhonePlaceholder"]));
// line 70
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 74
public function block_cms_form_contact_input_subject($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_subject"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_input_subject"));
// line 75
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 75)->display(twig_array_merge($context, ["required" => true, "fieldName" => "subject", "additionalClass" => "col-12", "label" => "contact.subjectLabel", "placeholder" => "contact.subjectPlaceholder"]));
// line 84
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 88
public function block_cms_form_contact_comment_textarea($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_comment_textarea"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_comment_textarea"));
// line 89
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-textarea.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 89)->display(twig_array_merge($context, ["rows" => 5, "required" => true, "fieldName" => "comment", "additionalClass" => "col-12", "label" => "contact.commentLabel", "placeholder" => "contact.commentPlaceholder"]));
// line 99
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 102
public function block_cms_form_contact_required_fields_info($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_required_fields_info"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_required_fields_info"));
// line 103
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-info-required.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 103)->display($context);
// line 104
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 106
public function block_cms_form_contact_captcha($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_captcha"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_captcha"));
// line 107
echo " ";
$this->loadTemplate("@Storefront/storefront/component/captcha/base.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 107)->display(twig_array_merge($context, ["additionalClass" => "col-md-12"]));
// line 108
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 110
public function block_cms_form_contact_privacy($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_privacy"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_privacy"));
// line 111
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-privacy.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 111)->display(twig_array_merge($context, ["requiresTermsOfService" => false]));
// line 114
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 116
public function block_cms_form_contact_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_submit"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_submit"));
// line 117
echo " ";
$this->loadTemplate("@econdWebAnalytics/storefront/element/cms-element-form/form-components/cms-element-form-submit.html.twig", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", 117)->display($context);
// line 118
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 121
public function block_cms_form_contact_hidden_fields($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_hidden_fields"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_hidden_fields"));
// line 122
echo " <div class=\"form-hidden-fields\">
";
// line 124
echo " ";
$this->displayBlock('cms_form_contact_csrf', $context, $blocks);
// line 127
echo "
";
// line 128
if ((sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigationId", [], "any", false, false, false, 128) && sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "entityName", [], "any", false, false, false, 128))) {
// line 129
echo " <input type=\"hidden\" name=\"navigationId\" value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigationId", [], "any", false, false, false, 129), "html", null, true);
echo "\"/>
<input type=\"hidden\" name=\"entityName\" value=\"";
// line 130
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "entityName", [], "any", false, false, false, 130), "html", null, true);
echo "\"/>
";
} else {
// line 132
echo " <input type=\"hidden\" name=\"navigationId\" value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, false, 132), "navigation", [], "any", false, false, false, 132), "active", [], "any", false, false, false, 132), "id", [], "any", false, false, false, 132), "html", null, true);
echo "\"/>
";
}
// line 134
echo "
<input type=\"hidden\" name=\"slotId\" value=\"";
// line 135
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "id", [], "any", false, false, false, 135), "html", null, true);
echo "\"/>
<input type=\"submit\" class=\"submit--hidden d-none\" />
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 124
public function block_cms_form_contact_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_form_contact_csrf"));
// line 125
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder(($context["action"] ?? null));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig";
}
public function getDebugInfo()
{
return array ( 505 => 125, 495 => 124, 480 => 135, 477 => 134, 471 => 132, 466 => 130, 461 => 129, 459 => 128, 456 => 127, 453 => 124, 450 => 122, 440 => 121, 430 => 118, 427 => 117, 417 => 116, 407 => 114, 404 => 111, 394 => 110, 384 => 108, 381 => 107, 371 => 106, 361 => 104, 358 => 103, 348 => 102, 338 => 99, 335 => 89, 325 => 88, 315 => 84, 312 => 75, 302 => 74, 292 => 70, 290 => 64, 288 => 61, 285 => 60, 275 => 59, 265 => 57, 262 => 47, 252 => 46, 242 => 42, 240 => 36, 238 => 33, 235 => 32, 225 => 31, 215 => 29, 213 => 23, 211 => 20, 208 => 19, 198 => 18, 188 => 16, 185 => 10, 175 => 9, 164 => 140, 162 => 121, 158 => 119, 156 => 116, 153 => 115, 151 => 110, 148 => 109, 146 => 106, 143 => 105, 141 => 102, 137 => 100, 135 => 88, 131 => 87, 127 => 85, 125 => 74, 121 => 73, 117 => 71, 115 => 59, 112 => 58, 110 => 46, 106 => 45, 102 => 43, 100 => 31, 97 => 30, 95 => 18, 92 => 17, 90 => 9, 86 => 8, 76 => 2, 57 => 1,);
}
public function getSourceContext()
{
return new Source("{% block cms_form_contact %}
<form action=\"{{ path(action) }}\"
method=\"post\"
data-form-csrf-handler=\"true\"
data-form-validation=\"true\">
<div class=\"form-content\">
<div class=\"{{ formRowClass }}\">
{% block cms_form_contact_select_salutation %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-select-salutation.html.twig'
with {
additionalClass: 'col-md-4',
required: true
}
%}
{% endblock %}
{% block cms_form_contact_input_first_name %}
{% set firstNameFieldRequired = config('core.basicInformation.firstNameFieldRequired') == true %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
with {
fieldName: 'firstName',
required: firstNameFieldRequired,
additionalClass: 'col-md-4',
label: 'account.personalFirstNameLabel',
placeholder: 'account.personalFirstNamePlaceholder'
}
%}
{% endblock %}
{% block cms_form_contact_input_last_name %}
{% set lastNameFieldRequired = config('core.basicInformation.lastNameFieldRequired') == true %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
with {
fieldName: 'lastName',
required: lastNameFieldRequired,
additionalClass: 'col-md-4',
label: 'account.personalLastNameLabel',
placeholder: 'account.personalLastNamePlaceholder'
}
%}
{% endblock %}
</div>
<div class=\"{{ formRowClass }}\">
{% block cms_form_contact_input_email %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
with {
fieldName: 'email',
type: 'email',
required: true,
additionalClass: 'col-md-6',
label: 'account.loginMailLabel',
placeholder: 'account.loginMailPlaceholder'
}
%}
{% endblock %}
{% block cms_form_contact_input_phome %}
{% set phoneNumberFieldRequired = config('core.basicInformation.phoneNumberFieldRequired') == true %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
with {
fieldName: 'phone',
required: phoneNumberFieldRequired,
additionalClass: 'col-md-6',
label: 'account.personalPhoneLabel',
placeholder: 'account.personalPhonePlaceholder'
}
%}
{% endblock %}
</div>
<div class=\"{{ formRowClass }}\">
{% block cms_form_contact_input_subject %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
with {
required: true,
fieldName: 'subject',
additionalClass: 'col-12',
label: 'contact.subjectLabel',
placeholder: 'contact.subjectPlaceholder'
}
%}
{% endblock %}
</div>
<div class=\"{{ formRowClass }}\">
{% block cms_form_contact_comment_textarea %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-textarea.html.twig'
with {
rows: 5,
required: true,
fieldName: 'comment',
additionalClass: 'col-12',
label: 'contact.commentLabel',
placeholder: 'contact.commentPlaceholder'
}
%}
{% endblock %}
</div>
{% block cms_form_contact_required_fields_info %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-info-required.html.twig' %}
{% endblock %}
{% block cms_form_contact_captcha %}
{% sw_include '@Storefront/storefront/component/captcha/base.html.twig' with { additionalClass : 'col-md-12'} %}
{% endblock %}
{% block cms_form_contact_privacy %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-privacy.html.twig'
with { 'requiresTermsOfService': false }
%}
{% endblock %}
{% block cms_form_contact_submit %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-submit.html.twig' %}
{% endblock %}
</div>
{% block cms_form_contact_hidden_fields %}
<div class=\"form-hidden-fields\">
{# @deprecated tag:v6.5.0 - Block cms_form_contact_csrf will be removed. #}
{% block cms_form_contact_csrf %}
{{ sw_csrf(action) }}
{% endblock %}
{% if page.navigationId and page.entityName %}
<input type=\"hidden\" name=\"navigationId\" value=\"{{ page.navigationId }}\"/>
<input type=\"hidden\" name=\"entityName\" value=\"{{ page.entityName }}\"/>
{% else %}
<input type=\"hidden\" name=\"navigationId\" value=\"{{ page.header.navigation.active.id }}\"/>
{% endif %}
<input type=\"hidden\" name=\"slotId\" value=\"{{ element.id }}\"/>
<input type=\"submit\" class=\"submit--hidden d-none\" />
</div>
{% endblock %}
</form>
{% endblock %}
", "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig", "/var/www/shopware6/vendor/shopware/storefront/Resources/views/storefront/element/cms-element-form/form-types/contact-form.html.twig");
}
}