var/cache/dev/twig/0f/0f6fe89a1977fa47234b19736a2ff235.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/Contact/request.html.twig */
  14. class __TwigTemplate_ac4295eee5c8c78d702d58702113aa64 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'seo_title' => [$this'block_seo_title'],
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@SyliusShop/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Contact/request.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Contact/request.html.twig"));
  39.         // line 3
  40.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'3$this->source); })()), [=> "@SyliusShop/Form/theme.html.twig"=> "Context/Shop/Form/checkbox.html.twig"=> "Context/Common/ReCaptcha/adaptive_widget.html.twig"], true);
  41.         // line 1
  42.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Contact/request.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 5
  50.     public function block_seo_title($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_title"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_title"));
  57.         echo "<title>";
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.footer.contact_us"), "html"nulltrue);
  59.         echo " | Hyfindr</title>";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 7
  66.     public function block_content($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  73.         // line 8
  74.         echo "    <div class=\"ui hidden divider\"></div>
  75.     ";
  76.         // line 9
  77.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'9$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_contact_request", ["company" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("company")]), "attr" => ["class" => "ui form hyfindr-form""novalidate" => "novalidate"]]);
  78.         // line 12
  79.         echo "
  80.         ";
  81.         // line 13
  82.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'13$this->source); })()), 'errors');
  83.         echo "
  84.         <h1 class=\"text-4xl\" style=\"font-weight: normal\">";
  85.         // line 14
  86.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.send_hyfindr_message"), "html"nulltrue);
  87.         echo "</h1>
  88.         <div class=\"ui divider\"></div>
  89.         <div class=\"ui two column stackable grid\">
  90.             <div class=\"column\">
  91.                 <div class=\"two fields\">
  92.                     ";
  93.         // line 19
  94.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'19$this->source); })()), "firstName", [], "any"falsefalsefalse19), 'row', ["label" => "app.ui.form.first_name""attr" => ["placeholder" => "app.ui.form.first_name"]]);
  95.         echo "
  96.                     ";
  97.         // line 20
  98.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'20$this->source); })()), "lastName", [], "any"falsefalsefalse20), 'row', ["label" => "app.ui.form.last_name""attr" => ["placeholder" => "app.ui.form.last_name"]]);
  99.         echo "
  100.                 </div>
  101.                 ";
  102.         // line 22
  103.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'22$this->source); })()), "companyName", [], "any"falsefalsefalse22), 'row', ["label" => "app.ui.form.legal_name_of_company""attr" => ["placeholder" => "app.ui.form.placeholders.company"]]);
  104.         echo "
  105.                 ";
  106.         // line 23
  107.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'23$this->source); })()), "country", [], "any"falsefalsefalse23), 'row', ["label" => "app.ui.form.country"]);
  108.         echo "
  109.                 ";
  110.         // line 24
  111.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'24$this->source); })()), "email", [], "any"falsefalsefalse24), 'row', ["label" => "app.ui.form.email""attr" => ["placeholder" => "app.ui.form.placeholders.email"]]);
  112.         echo "
  113.                 ";
  114.         // line 25
  115.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'25$this->source); })()), "phoneNumber", [], "any"falsefalsefalse25), 'row', ["label" => "app.ui.form.phone_number""attr" => ["placeholder" => "app.ui.form.placeholders.phone_number"]]);
  116.         echo "
  117.             </div>
  118.             <div class=\"column\">
  119.                 <div class=\"contact-textarea-field\">
  120.                     ";
  121.         // line 29
  122.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), "message", [], "any"falsefalsefalse29), 'row', ["label" => "app.ui.form.message"]);
  123.         echo "
  124.                 </div>
  125.                 <div class=\"field terms-field\">
  126.                     <div class=\"ui\">
  127.                         <label for=\"contact_agreement\">
  128.                             ";
  129.         // line 34
  130.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'34$this->source); })()), "agreement", [], "any"falsefalsefalse34), 'row', ["label" => false]);
  131.         echo "
  132.                             ";
  133.         // line 35
  134.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.privacy_policy_and_terms", ["%privacy_link%" => $this->extensions['BitBag\OpenMarketplace\Component\Core\Common\Twig\RenderLinkForCodeWithSuffixExtension']->renderUrlForCodeWithSuffix("privacy_policy""legal"), "%terms_link%" => $this->extensions['BitBag\OpenMarketplace\Component\Core\Common\Twig\RenderLinkForCodeWithSuffixExtension']->renderUrlForCodeWithSuffix("general_terms""legal")]);
  135.         // line 38
  136.         echo "
  137.                         </label>
  138.                     </div>
  139.                 </div>
  140.                 <div class=\"field\">
  141.                     ";
  142.         // line 43
  143.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "recaptcha", [], "any"falsefalsefalse43), 'row'$this->env->getFunction('sylius_test_form_attribute')->getCallable()("recaptcha"));
  144.         echo "
  145.                 </div>
  146.             </div>
  147.             <button class=\"hyfindr btn btn--primary contact-submit-button\">";
  148.         // line 46
  149.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.send"), "html"nulltrue);
  150.         echo "</button>
  151.         </div>
  152.         ";
  153.         // line 48
  154.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'48$this->source); })()), "_token", [], "any"falsefalsefalse48), 'row');
  155.         echo "
  156.     ";
  157.         // line 49
  158.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'49$this->source); })()), 'form_end', ["render_rest" => false]);
  159.         echo "
  160.     <div class=\"text-4xl appointment-header\">";
  161.         // line 51
  162.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.schedule_an_appointment"), "html"nulltrue);
  163.         echo "</div>
  164.     <div class=\"ui divider\"></div>
  165.     <div class=\"section-container contact-section meeting-slot\">
  166.         <div class=\"split-sections\">
  167.             <a href=\"https://outlook.office365.com/book/HyfindrMeeting@hyfindr.com/\" target=\"_blank\" class=\"hyfindr btn btn--primary\">";
  168.         // line 55
  169.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.choose_a_meeting_slot"), "html"nulltrue);
  170.         echo "</a>
  171.             <div class=\"text-part text-lg\">";
  172.         // line 56
  173.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.having_good_conversations"), "html"nulltrue);
  174.         echo "</div>
  175.         </div>
  176.     </div>
  177.     <div class=\"contact_faq\">
  178.         ";
  179.         // line 61
  180.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_block_index_by_section_code", ["sectionCode" => "contact_faq""template" => "@SyliusShop/Contact/faq.html.twig"]));
  181.         echo "
  182.     </div>
  183. ";
  184.         
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  186.         
  187.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  188.     }
  189.     public function getTemplateName()
  190.     {
  191.         return "@SyliusShop/Contact/request.html.twig";
  192.     }
  193.     public function isTraitable()
  194.     {
  195.         return false;
  196.     }
  197.     public function getDebugInfo()
  198.     {
  199.         return array (  201 => 61,  193 => 56,  189 => 55,  182 => 51,  177 => 49,  173 => 48,  168 => 46,  162 => 43,  155 => 38,  153 => 35,  149 => 34,  141 => 29,  134 => 25,  130 => 24,  126 => 23,  122 => 22,  117 => 20,  113 => 19,  105 => 14,  101 => 13,  98 => 12,  96 => 9,  93 => 8,  83 => 7,  62 => 5,  51 => 1,  49 => 3,  36 => 1,);
  200.     }
  201.     public function getSourceContext()
  202.     {
  203.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  204. {% form_theme form with ['@SyliusShop/Form/theme.html.twig', 'Context/Shop/Form/checkbox.html.twig', 'Context/Common/ReCaptcha/adaptive_widget.html.twig'] %}
  205. {% block seo_title %}<title>{{ 'app.ui.footer.contact_us'|trans }} | Hyfindr</title>{% endblock %}
  206. {% block content %}
  207.     <div class=\"ui hidden divider\"></div>
  208.     {{ form_start(form, {
  209.         'action': path('sylius_shop_contact_request', {'company': 'company'|trans}),
  210.         'attr': {'class': 'ui form hyfindr-form', 'novalidate': 'novalidate'}})
  211.     }}
  212.         {{ form_errors(form) }}
  213.         <h1 class=\"text-4xl\" style=\"font-weight: normal\">{{ 'app.ui.contact.send_hyfindr_message'|trans }}</h1>
  214.         <div class=\"ui divider\"></div>
  215.         <div class=\"ui two column stackable grid\">
  216.             <div class=\"column\">
  217.                 <div class=\"two fields\">
  218.                     {{ form_row(form.firstName, {'label' : 'app.ui.form.first_name', 'attr' : {'placeholder': 'app.ui.form.first_name'}}) }}
  219.                     {{ form_row(form.lastName, {'label' : 'app.ui.form.last_name', 'attr' : {'placeholder': 'app.ui.form.last_name'}}) }}
  220.                 </div>
  221.                 {{ form_row(form.companyName, {'label' : 'app.ui.form.legal_name_of_company', 'attr' : {'placeholder': 'app.ui.form.placeholders.company'}}) }}
  222.                 {{ form_row(form.country, {'label' : 'app.ui.form.country'}) }}
  223.                 {{ form_row(form.email, {'label' : 'app.ui.form.email', 'attr' : {'placeholder': 'app.ui.form.placeholders.email'}}) }}
  224.                 {{ form_row(form.phoneNumber, {'label' : 'app.ui.form.phone_number', 'attr' : {'placeholder': 'app.ui.form.placeholders.phone_number'}}) }}
  225.             </div>
  226.             <div class=\"column\">
  227.                 <div class=\"contact-textarea-field\">
  228.                     {{ form_row(form.message, {'label' : 'app.ui.form.message'}) }}
  229.                 </div>
  230.                 <div class=\"field terms-field\">
  231.                     <div class=\"ui\">
  232.                         <label for=\"contact_agreement\">
  233.                             {{ form_row(form.agreement, {'label' : false}) }}
  234.                             {{ 'app.ui.form.privacy_policy_and_terms'|trans({
  235.                                 '%privacy_link%': hyf_get_url_for_code_with_suffix('privacy_policy', 'legal'),
  236.                                 '%terms_link%': hyf_get_url_for_code_with_suffix('general_terms', 'legal')
  237.                             })|raw }}
  238.                         </label>
  239.                     </div>
  240.                 </div>
  241.                 <div class=\"field\">
  242.                     {{ form_row(form.recaptcha, sylius_test_form_attribute('recaptcha')) }}
  243.                 </div>
  244.             </div>
  245.             <button class=\"hyfindr btn btn--primary contact-submit-button\">{{ 'app.ui.form.send'|trans }}</button>
  246.         </div>
  247.         {{ form_row(form._token) }}
  248.     {{ form_end(form, {'render_rest': false}) }}
  249.     <div class=\"text-4xl appointment-header\">{{ 'app.ui.contact.schedule_an_appointment'|trans }}</div>
  250.     <div class=\"ui divider\"></div>
  251.     <div class=\"section-container contact-section meeting-slot\">
  252.         <div class=\"split-sections\">
  253.             <a href=\"https://outlook.office365.com/book/HyfindrMeeting@hyfindr.com/\" target=\"_blank\" class=\"hyfindr btn btn--primary\">{{ 'app.ui.contact.choose_a_meeting_slot'|trans }}</a>
  254.             <div class=\"text-part text-lg\">{{ 'app.ui.contact.having_good_conversations'|trans }}</div>
  255.         </div>
  256.     </div>
  257.     <div class=\"contact_faq\">
  258.         {{ render(path('bitbag_sylius_cms_plugin_shop_block_index_by_section_code', {'sectionCode' : 'contact_faq', 'template' : '@SyliusShop/Contact/faq.html.twig'})) }}
  259.     </div>
  260. {% endblock %}
  261. ""@SyliusShop/Contact/request.html.twig""/srv/open_marketplace/templates/bundles/SyliusShopBundle/Contact/request.html.twig");
  262.     }
  263. }