var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/40/40c8948094676c4c1d402043f939d030f1bd7d68ee8459f9cd4bfc04f264c946.php line 497

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig */
  16. class __TwigTemplate_bc67ab76675eda36e5e2d571e1ca58ff extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->parent false;
  25.         $this->blocks = [
  26.             'cms_form_contact' => [$this'block_cms_form_contact'],
  27.             'cms_form_contact_select_salutation' => [$this'block_cms_form_contact_select_salutation'],
  28.             'cms_form_contact_input_first_name' => [$this'block_cms_form_contact_input_first_name'],
  29.             'cms_form_contact_input_last_name' => [$this'block_cms_form_contact_input_last_name'],
  30.             'cms_form_contact_input_email' => [$this'block_cms_form_contact_input_email'],
  31.             'cms_form_contact_input_phome' => [$this'block_cms_form_contact_input_phome'],
  32.             'cms_form_contact_input_subject' => [$this'block_cms_form_contact_input_subject'],
  33.             'cms_form_contact_comment_textarea' => [$this'block_cms_form_contact_comment_textarea'],
  34.             'cms_form_contact_required_fields_info' => [$this'block_cms_form_contact_required_fields_info'],
  35.             'cms_form_contact_captcha' => [$this'block_cms_form_contact_captcha'],
  36.             'cms_form_contact_privacy' => [$this'block_cms_form_contact_privacy'],
  37.             'cms_form_contact_submit' => [$this'block_cms_form_contact_submit'],
  38.             'cms_form_contact_hidden_fields' => [$this'block_cms_form_contact_hidden_fields'],
  39.             'cms_form_contact_csrf' => [$this'block_cms_form_contact_csrf'],
  40.         ];
  41.     }
  42.     protected function doDisplay(array $context, array $blocks = [])
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__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"));
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__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"));
  49.         // line 1
  50.         $this->displayBlock('cms_form_contact'$context$blocks);
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     public function block_cms_form_contact($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact"));
  63.         // line 2
  64.         echo "    <form action=\"";
  65.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["action"] ?? null));
  66.         echo "\"
  67.           method=\"post\"
  68.           data-form-csrf-handler=\"true\"
  69.           data-form-validation=\"true\">
  70.         <div class=\"form-content\">
  71.         <div class=\"";
  72.         // line 8
  73.         echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html"nulltrue);
  74.         echo "\">
  75.             ";
  76.         // line 9
  77.         $this->displayBlock('cms_form_contact_select_salutation'$context$blocks);
  78.         // line 17
  79.         echo "
  80.             ";
  81.         // line 18
  82.         $this->displayBlock('cms_form_contact_input_first_name'$context$blocks);
  83.         // line 30
  84.         echo "
  85.             ";
  86.         // line 31
  87.         $this->displayBlock('cms_form_contact_input_last_name'$context$blocks);
  88.         // line 43
  89.         echo "        </div>
  90.         <div class=\"";
  91.         // line 45
  92.         echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html"nulltrue);
  93.         echo "\">
  94.             ";
  95.         // line 46
  96.         $this->displayBlock('cms_form_contact_input_email'$context$blocks);
  97.         // line 58
  98.         echo "
  99.             ";
  100.         // line 59
  101.         $this->displayBlock('cms_form_contact_input_phome'$context$blocks);
  102.         // line 71
  103.         echo "        </div>
  104.         <div class=\"";
  105.         // line 73
  106.         echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html"nulltrue);
  107.         echo "\">
  108.             ";
  109.         // line 74
  110.         $this->displayBlock('cms_form_contact_input_subject'$context$blocks);
  111.         // line 85
  112.         echo "        </div>
  113.         <div class=\"";
  114.         // line 87
  115.         echo sw_escape_filter($this->env, ($context["formRowClass"] ?? null), "html"nulltrue);
  116.         echo "\">
  117.             ";
  118.         // line 88
  119.         $this->displayBlock('cms_form_contact_comment_textarea'$context$blocks);
  120.         // line 100
  121.         echo "        </div>
  122.         ";
  123.         // line 102
  124.         $this->displayBlock('cms_form_contact_required_fields_info'$context$blocks);
  125.         // line 105
  126.         echo "
  127.         ";
  128.         // line 106
  129.         $this->displayBlock('cms_form_contact_captcha'$context$blocks);
  130.         // line 109
  131.         echo "
  132.         ";
  133.         // line 110
  134.         $this->displayBlock('cms_form_contact_privacy'$context$blocks);
  135.         // line 115
  136.         echo "
  137.         ";
  138.         // line 116
  139.         $this->displayBlock('cms_form_contact_submit'$context$blocks);
  140.         // line 119
  141.         echo "        </div>
  142.         ";
  143.         // line 121
  144.         $this->displayBlock('cms_form_contact_hidden_fields'$context$blocks);
  145.         // line 140
  146.         echo "    </form>
  147. ";
  148.         
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  150.         
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152.     }
  153.     // line 9
  154.     public function block_cms_form_contact_select_salutation($context, array $blocks = [])
  155.     {
  156.         $macros $this->macros;
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_select_salutation"));
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_select_salutation"));
  161.         // line 10
  162.         echo "                ";
  163.         $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]));
  164.         // line 16
  165.         echo "            ";
  166.         
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  168.         
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  170.     }
  171.     // line 18
  172.     public function block_cms_form_contact_input_first_name($context, array $blocks = [])
  173.     {
  174.         $macros $this->macros;
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  176.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_first_name"));
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  178.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_first_name"));
  179.         // line 19
  180.         echo "                ";
  181.         $context["firstNameFieldRequired"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.basicInformation.firstNameFieldRequired") == true);
  182.         // line 20
  183.         echo "                ";
  184.         $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
  185. ($context["firstNameFieldRequired"] ?? null), "additionalClass" => "col-md-4""label" => "account.personalFirstNameLabel""placeholder" => "account.personalFirstNamePlaceholder"]));
  186.         // line 29
  187.         echo "            ";
  188.         
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  190.         
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  192.     }
  193.     // line 31
  194.     public function block_cms_form_contact_input_last_name($context, array $blocks = [])
  195.     {
  196.         $macros $this->macros;
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_last_name"));
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_last_name"));
  201.         // line 32
  202.         echo "                ";
  203.         $context["lastNameFieldRequired"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.basicInformation.lastNameFieldRequired") == true);
  204.         // line 33
  205.         echo "                ";
  206.         $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
  207. ($context["lastNameFieldRequired"] ?? null), "additionalClass" => "col-md-4""label" => "account.personalLastNameLabel""placeholder" => "account.personalLastNamePlaceholder"]));
  208.         // line 42
  209.         echo "            ";
  210.         
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  212.         
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  214.     }
  215.     // line 46
  216.     public function block_cms_form_contact_input_email($context, array $blocks = [])
  217.     {
  218.         $macros $this->macros;
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_email"));
  221.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  222.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_email"));
  223.         // line 47
  224.         echo "                ";
  225.         $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"]));
  226.         // line 57
  227.         echo "            ";
  228.         
  229.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  230.         
  231.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  232.     }
  233.     // line 59
  234.     public function block_cms_form_contact_input_phome($context, array $blocks = [])
  235.     {
  236.         $macros $this->macros;
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  238.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_phome"));
  239.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_phome"));
  241.         // line 60
  242.         echo "                ";
  243.         $context["phoneNumberFieldRequired"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.basicInformation.phoneNumberFieldRequired") == true);
  244.         // line 61
  245.         echo "                ";
  246.         $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
  247. ($context["phoneNumberFieldRequired"] ?? null), "additionalClass" => "col-md-6""label" => "account.personalPhoneLabel""placeholder" => "account.personalPhonePlaceholder"]));
  248.         // line 70
  249.         echo "            ";
  250.         
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  252.         
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  254.     }
  255.     // line 74
  256.     public function block_cms_form_contact_input_subject($context, array $blocks = [])
  257.     {
  258.         $macros $this->macros;
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_subject"));
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_input_subject"));
  263.         // line 75
  264.         echo "                ";
  265.         $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"]));
  266.         // line 84
  267.         echo "            ";
  268.         
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  270.         
  271.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  272.     }
  273.     // line 88
  274.     public function block_cms_form_contact_comment_textarea($context, array $blocks = [])
  275.     {
  276.         $macros $this->macros;
  277.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_comment_textarea"));
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  280.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_comment_textarea"));
  281.         // line 89
  282.         echo "                ";
  283.         $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"]));
  284.         // line 99
  285.         echo "            ";
  286.         
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  288.         
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  290.     }
  291.     // line 102
  292.     public function block_cms_form_contact_required_fields_info($context, array $blocks = [])
  293.     {
  294.         $macros $this->macros;
  295.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  296.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_required_fields_info"));
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  298.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_required_fields_info"));
  299.         // line 103
  300.         echo "            ";
  301.         $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);
  302.         // line 104
  303.         echo "        ";
  304.         
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  306.         
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  308.     }
  309.     // line 106
  310.     public function block_cms_form_contact_captcha($context, array $blocks = [])
  311.     {
  312.         $macros $this->macros;
  313.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_captcha"));
  315.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  316.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_captcha"));
  317.         // line 107
  318.         echo "            ";
  319.         $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"]));
  320.         // line 108
  321.         echo "        ";
  322.         
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  324.         
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  326.     }
  327.     // line 110
  328.     public function block_cms_form_contact_privacy($context, array $blocks = [])
  329.     {
  330.         $macros $this->macros;
  331.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_privacy"));
  333.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  334.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_privacy"));
  335.         // line 111
  336.         echo "            ";
  337.         $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]));
  338.         // line 114
  339.         echo "        ";
  340.         
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  342.         
  343.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  344.     }
  345.     // line 116
  346.     public function block_cms_form_contact_submit($context, array $blocks = [])
  347.     {
  348.         $macros $this->macros;
  349.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_submit"));
  351.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_submit"));
  353.         // line 117
  354.         echo "            ";
  355.         $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);
  356.         // line 118
  357.         echo "        ";
  358.         
  359.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  360.         
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  362.     }
  363.     // line 121
  364.     public function block_cms_form_contact_hidden_fields($context, array $blocks = [])
  365.     {
  366.         $macros $this->macros;
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  368.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_hidden_fields"));
  369.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  370.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_hidden_fields"));
  371.         // line 122
  372.         echo "            <div class=\"form-hidden-fields\">
  373.                 ";
  374.         // line 124
  375.         echo "                ";
  376.         $this->displayBlock('cms_form_contact_csrf'$context$blocks);
  377.         // line 127
  378.         echo "
  379.                 ";
  380.         // line 128
  381.         if ((sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "navigationId", [], "any"falsefalsefalse128) && sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "entityName", [], "any"falsefalsefalse128))) {
  382.             // line 129
  383.             echo "                    <input type=\"hidden\" name=\"navigationId\" value=\"";
  384.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "navigationId", [], "any"falsefalsefalse129), "html"nulltrue);
  385.             echo "\"/>
  386.                     <input type=\"hidden\" name=\"entityName\" value=\"";
  387.             // line 130
  388.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "entityName", [], "any"falsefalsefalse130), "html"nulltrue);
  389.             echo "\"/>
  390.                 ";
  391.         } else {
  392.             // line 132
  393.             echo "                    <input type=\"hidden\" name=\"navigationId\" value=\"";
  394.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse132), "navigation", [], "any"falsefalsefalse132), "active", [], "any"falsefalsefalse132), "id", [], "any"falsefalsefalse132), "html"nulltrue);
  395.             echo "\"/>
  396.                 ";
  397.         }
  398.         // line 134
  399.         echo "
  400.                 <input type=\"hidden\" name=\"slotId\" value=\"";
  401.         // line 135
  402.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["element"] ?? null), "id", [], "any"falsefalsefalse135), "html"nulltrue);
  403.         echo "\"/>
  404.                 <input type=\"submit\" class=\"submit--hidden d-none\" />
  405.             </div>
  406.         ";
  407.         
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.     }
  412.     // line 124
  413.     public function block_cms_form_contact_csrf($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_csrf"));
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  419.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_form_contact_csrf"));
  420.         // line 125
  421.         echo "                    ";
  422.         echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder(($context["action"] ?? null));
  423.         echo "
  424.                 ";
  425.         
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  427.         
  428.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  429.     }
  430.     public function getTemplateName()
  431.     {
  432.         return "@Storefront/storefront/element/cms-element-form/form-types/contact-form.html.twig";
  433.     }
  434.     public function getDebugInfo()
  435.     {
  436.         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,);
  437.     }
  438.     public function getSourceContext()
  439.     {
  440.         return new Source("{% block cms_form_contact %}
  441.     <form action=\"{{ path(action) }}\"
  442.           method=\"post\"
  443.           data-form-csrf-handler=\"true\"
  444.           data-form-validation=\"true\">
  445.         <div class=\"form-content\">
  446.         <div class=\"{{ formRowClass }}\">
  447.             {% block cms_form_contact_select_salutation %}
  448.                 {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-select-salutation.html.twig'
  449.                     with {
  450.                     additionalClass: 'col-md-4',
  451.                     required: true
  452.                 }
  453.                 %}
  454.             {% endblock %}
  455.             {% block cms_form_contact_input_first_name %}
  456.                 {% set firstNameFieldRequired = config('core.basicInformation.firstNameFieldRequired') == true %}
  457.                 {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
  458.                     with {
  459.                     fieldName: 'firstName',
  460.                     required: firstNameFieldRequired,
  461.                     additionalClass: 'col-md-4',
  462.                     label: 'account.personalFirstNameLabel',
  463.                     placeholder: 'account.personalFirstNamePlaceholder'
  464.                 }
  465.                 %}
  466.             {% endblock %}
  467.             {% block cms_form_contact_input_last_name %}
  468.                 {% set lastNameFieldRequired = config('core.basicInformation.lastNameFieldRequired') == true %}
  469.                 {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
  470.                     with {
  471.                     fieldName: 'lastName',
  472.                     required: lastNameFieldRequired,
  473.                     additionalClass: 'col-md-4',
  474.                     label: 'account.personalLastNameLabel',
  475.                     placeholder: 'account.personalLastNamePlaceholder'
  476.                 }
  477.                 %}
  478.             {% endblock %}
  479.         </div>
  480.         <div class=\"{{ formRowClass }}\">
  481.             {% block cms_form_contact_input_email %}
  482.                 {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
  483.                     with {
  484.                     fieldName: 'email',
  485.                     type: 'email',
  486.                     required: true,
  487.                     additionalClass: 'col-md-6',
  488.                     label: 'account.loginMailLabel',
  489.                     placeholder: 'account.loginMailPlaceholder'
  490.                 }
  491.                 %}
  492.             {% endblock %}
  493.             {% block cms_form_contact_input_phome %}
  494.                 {% set phoneNumberFieldRequired = config('core.basicInformation.phoneNumberFieldRequired') == true %}
  495.                 {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
  496.                     with {
  497.                     fieldName: 'phone',
  498.                     required: phoneNumberFieldRequired,
  499.                     additionalClass: 'col-md-6',
  500.                     label: 'account.personalPhoneLabel',
  501.                     placeholder: 'account.personalPhonePlaceholder'
  502.                 }
  503.                 %}
  504.             {% endblock %}
  505.         </div>
  506.         <div class=\"{{ formRowClass }}\">
  507.             {% block cms_form_contact_input_subject %}
  508.                 {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
  509.                     with {
  510.                     required: true,
  511.                     fieldName: 'subject',
  512.                     additionalClass: 'col-12',
  513.                     label: 'contact.subjectLabel',
  514.                     placeholder: 'contact.subjectPlaceholder'
  515.                 }
  516.                 %}
  517.             {% endblock %}
  518.         </div>
  519.         <div class=\"{{ formRowClass }}\">
  520.             {% block cms_form_contact_comment_textarea %}
  521.                 {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-textarea.html.twig'
  522.                     with {
  523.                     rows: 5,
  524.                     required: true,
  525.                     fieldName: 'comment',
  526.                     additionalClass: 'col-12',
  527.                     label: 'contact.commentLabel',
  528.                     placeholder: 'contact.commentPlaceholder'
  529.                 }
  530.                 %}
  531.             {% endblock %}
  532.         </div>
  533.         {% block cms_form_contact_required_fields_info %}
  534.             {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-info-required.html.twig' %}
  535.         {% endblock %}
  536.         {% block cms_form_contact_captcha %}
  537.             {% sw_include '@Storefront/storefront/component/captcha/base.html.twig' with { additionalClass : 'col-md-12'} %}
  538.         {% endblock %}
  539.         {% block cms_form_contact_privacy %}
  540.             {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-privacy.html.twig'
  541.                 with { 'requiresTermsOfService': false }
  542.             %}
  543.         {% endblock %}
  544.         {% block cms_form_contact_submit %}
  545.             {% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-submit.html.twig' %}
  546.         {% endblock %}
  547.         </div>
  548.         {% block cms_form_contact_hidden_fields %}
  549.             <div class=\"form-hidden-fields\">
  550.                 {# @deprecated tag:v6.5.0 - Block cms_form_contact_csrf will be removed. #}
  551.                 {% block cms_form_contact_csrf %}
  552.                     {{ sw_csrf(action) }}
  553.                 {% endblock %}
  554.                 {% if page.navigationId and page.entityName %}
  555.                     <input type=\"hidden\" name=\"navigationId\" value=\"{{ page.navigationId }}\"/>
  556.                     <input type=\"hidden\" name=\"entityName\" value=\"{{ page.entityName }}\"/>
  557.                 {% else %}
  558.                     <input type=\"hidden\" name=\"navigationId\" value=\"{{ page.header.navigation.active.id }}\"/>
  559.                 {% endif %}
  560.                 <input type=\"hidden\" name=\"slotId\" value=\"{{ element.id }}\"/>
  561.                 <input type=\"submit\" class=\"submit--hidden d-none\" />
  562.             </div>
  563.         {% endblock %}
  564.     </form>
  565. {% endblock %}
  566. ""@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");
  567.     }
  568. }