var/cache/dev/twig/86/866967bdd086f0be1e70f2ac7d52061e6b496bf2a6750311ddbe5ff85ab2ab18.php line 225

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_763504071158429514e18a526d0210d91ef67cc4c2b91c9242450e6f5d1439c1 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->parent false;
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Contact/_request.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Contact/_request.html.twig"));
  34.         // line 1
  35.         echo "
  36. ";
  37.         // line 3
  38.         $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"], true);
  39.         // line 4
  40.         echo "
  41. ";
  42.         // line 6
  43.         $this->displayBlock('content'$context$blocks);
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     public function block_content($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         // line 7
  57.         echo "    <div class=\"contact-footer\">
  58.             <img src=\"";
  59.         // line 8
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/bg_contact.jpg""bootstrapTheme"), "html"nulltrue);
  61.         echo "\" alt=\"\" class=\"wow fadeIn\" data-wow-duration=\"2s\" data-wow-delay=\"1s\"/>
  62.             <div class=\"contact-container\">
  63.                 <div class=\"form_contact wow fadeInDown\" data-wow-duration=\"1.5s\" data-wow-delay=\"1.5s\" >
  64.                     <div class=\"pi-section pi-no-padding\">
  65.                         <h1 class=\"titre-medium text-center\">";
  66.         // line 12
  67.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.contact.plus_infos"), "html"nulltrue);
  68.         echo "</h1>
  69.                         <p class=\"my-3\">";
  70.         // line 13
  71.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.use_the_contact_form_below_to_send_us_a_message"), "html"nulltrue);
  72.         echo "</p>
  73.                         <div class=\"contact_form\">
  74.                             ";
  75.         // line 15
  76.         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.'15$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_contact_request"), "attr" => ["class" => "loadable""novalidate" => "novalidate"]]);
  77.         echo "
  78.                             ";
  79.         // line 16
  80.         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.'16$this->source); })()), "_token", [], "any"falsefalsefalse16), 'row');
  81.         echo "
  82.                              <div class=\"row\">
  83.                                  <div class=\"col-12 col-sm-6\">
  84.                                      <div class=\"pi-input-with-icon pos-relative\">
  85.                                          <div class=\"pi-input-icon\">
  86.                                              <i class=\"icon-home\"></i>
  87.                                          </div>
  88.                                          ";
  89.         // line 23
  90.         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); })()), "societe", [], "any"falsefalsefalse23), 'row');
  91.         echo "
  92.                                      </div>
  93.                                  </div>
  94.                                  <div class=\"col-12 col-sm-6\">
  95.                                      <div class=\"pi-input-with-icon pos-relative\">
  96.                                          <div class=\"pi-input-icon\">
  97.                                              <i class=\"icon-mail\"></i>
  98.                                          </div>
  99.                                          ";
  100.         // line 31
  101.         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.'31$this->source); })()), "email", [], "any"falsefalsefalse31), 'row');
  102.         echo "
  103.                                      </div>
  104.                                  </div>
  105.                             </div>
  106.                             <div class=\"row \">
  107.                                 <div class=\"col-12 col-sm-6\">
  108.                                     <div class=\"pi-input-with-icon pos-relative\">
  109.                                         <div class=\"pi-input-icon\">
  110.                                             <i class=\"icon-users\"></i>
  111.                                         </div>
  112.                                          ";
  113.         // line 41
  114.         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.'41$this->source); })()), "nom", [], "any"falsefalsefalse41), 'row');
  115.         echo "
  116.                                     </div>
  117.                                 </div>
  118.                                 <div class=\"col-12 col-sm-6\">
  119.                                     <div class=\"pi-input-with-icon pos-relative\">
  120.                                         <div class=\"pi-input-icon\">
  121.                                             <i class=\"icon-users\"></i>
  122.                                         </div>
  123.                                         ";
  124.         // line 49
  125.         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.'49$this->source); })()), "prenom", [], "any"falsefalsefalse49), 'row');
  126.         echo "
  127.                                     </div>
  128.                                 </div>
  129.                             </div>
  130.                             <div class=\"row \">
  131.                                 <div class=\"col-12 col-sm-6\">
  132.                                     <div class=\"pi-input-with-icon pos-relative\">
  133.                                         <div class=\"pi-input-icon\">
  134.                                             <i class=\"icon-phone\"></i>
  135.                                         </div>
  136.                                         ";
  137.         // line 59
  138.         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.'59$this->source); })()), "telephone", [], "any"falsefalsefalse59), 'row');
  139.         echo "
  140.                                     </div>
  141.                                 </div>
  142.                                 <div class=\"col-12 col-sm-6\">
  143.                                     <div class=\"pi-input-with-icon pos-relative\">
  144.                                         <div class=\"pi-input-icon\">
  145.                                             <i class=\"icon-home\"></i>
  146.                                         </div>
  147.                                         ";
  148.         // line 67
  149.         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.'67$this->source); })()), "adresse", [], "any"falsefalsefalse67), 'row');
  150.         echo "
  151.                                     </div>
  152.                                 </div>
  153.                             </div>
  154.                             <div class=\"row \">
  155.                                 <div class=\"col-12 col-sm-6\">
  156.                                     <div class=\"pi-input-with-icon pos-relative\">
  157.                                         <div class=\"pi-input-icon\">
  158.                                             <i class=\"icon-home\"></i>
  159.                                         </div>
  160.                                         ";
  161.         // line 77
  162.         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.'77$this->source); })()), "departement", [], "any"falsefalsefalse77), 'row');
  163.         echo "
  164.                                     </div>
  165.                                 </div>
  166.                                 <div class=\"col-12 col-sm-6\">
  167.                                     <div class=\"pi-input-with-icon pos-relative\">
  168.                                         <div class=\"pi-input-icon\">
  169.                                             <i class=\"icon-home\"></i>
  170.                                         </div>
  171.                                         ";
  172.         // line 85
  173.         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.'85$this->source); })()), "ville", [], "any"falsefalsefalse85), 'row');
  174.         echo "
  175.                                     </div>
  176.                                 </div>
  177.                             </div>
  178.                             <div class=\"row\">
  179.                                 <div class=\"col\">
  180.                                     <div class=\"form-group\">
  181.                                         <div class=\"pi-input-with-icon pos-relative\">
  182.                                             <div class=\"pi-input-icon\">
  183.                                                 <i class=\"icon-pencil\"></i>
  184.                                             </div>
  185.                                             ";
  186.         // line 96
  187.         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.'96$this->source); })()), "message", [], "any"falsefalsefalse96), 'row');
  188.         echo "
  189.                                         </div>
  190.                                     </div>
  191.                                 </div>
  192.                             </div>
  193.                              ";
  194.         // line 101
  195.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.contact.request.form", ["form" => (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'101$this->source); })())]);
  196.         echo "
  197.                             <div class=\"row\">
  198.                                 <div class=\"col-12 col-sm\">
  199.                                     <div class=\"input-group text-left w-100\">
  200.                                         ";
  201.         // line 105
  202.         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.'105$this->source); })()), "attachment", [], "any"falsefalsefalse105), 'row');
  203.         echo "
  204.                                     </div>
  205.                                 </div>
  206.                                 <div class=\"col-12 col-sm-auto text-right\">
  207.                                  ";
  208.         // line 109
  209.         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.'109$this->source); })()), "_token", [], "any"falsefalsefalse109), 'row');
  210.         echo "
  211.                                     <button type=\"submit\" class=\"btn-link\" ";
  212.         // line 110
  213.         echo call_user_func_array($this->env->getFunction('sylius_test_html_attribute')->getCallable(), ["send-button"]);
  214.         echo ">";
  215.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.send"), "html"nulltrue);
  216.         echo "</button>
  217.                                 </div>
  218.                             </div>
  219.                             ";
  220.         // line 113
  221.         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.'113$this->source); })()), 'form_end', ["render_rest" => false]);
  222.         echo "
  223.                             ";
  224.         // line 114
  225.         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.'114$this->source); })()), 'form_end', ["render_rest" => false]);
  226.         echo "
  227.                         </div>
  228.                     </div>
  229.                 </div>
  230.             </div>
  231.         </div>
  232. ";
  233.         
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  235.         
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  237.     }
  238.     public function getTemplateName()
  239.     {
  240.         return "@SyliusShop/Contact/_request.html.twig";
  241.     }
  242.     public function isTraitable()
  243.     {
  244.         return false;
  245.     }
  246.     public function getDebugInfo()
  247.     {
  248.         return array (  241 => 114,  237 => 113,  229 => 110,  225 => 109,  218 => 105,  211 => 101,  203 => 96,  189 => 85,  178 => 77,  165 => 67,  154 => 59,  141 => 49,  130 => 41,  117 => 31,  106 => 23,  96 => 16,  92 => 15,  87 => 13,  83 => 12,  76 => 8,  73 => 7,  54 => 6,  50 => 4,  48 => 3,  44 => 1,);
  249.     }
  250.     public function getSourceContext()
  251.     {
  252.         return new Source("
  253. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  254. {% block content %}
  255.     <div class=\"contact-footer\">
  256.             <img src=\"{{ asset('images/bg_contact.jpg', 'bootstrapTheme') }}\" alt=\"\" class=\"wow fadeIn\" data-wow-duration=\"2s\" data-wow-delay=\"1s\"/>
  257.             <div class=\"contact-container\">
  258.                 <div class=\"form_contact wow fadeInDown\" data-wow-duration=\"1.5s\" data-wow-delay=\"1.5s\" >
  259.                     <div class=\"pi-section pi-no-padding\">
  260.                         <h1 class=\"titre-medium text-center\">{{'app.contact.plus_infos'|trans}}</h1>
  261.                         <p class=\"my-3\">{{'sylius.ui.use_the_contact_form_below_to_send_us_a_message'|trans}}</p>
  262.                         <div class=\"contact_form\">
  263.                             {{ form_start(form, {'action': path('sylius_shop_contact_request'), 'attr': {'class': 'loadable', 'novalidate': 'novalidate'}}) }}
  264.                             {{ form_row(form._token) }}
  265.                              <div class=\"row\">
  266.                                  <div class=\"col-12 col-sm-6\">
  267.                                      <div class=\"pi-input-with-icon pos-relative\">
  268.                                          <div class=\"pi-input-icon\">
  269.                                              <i class=\"icon-home\"></i>
  270.                                          </div>
  271.                                          {{ form_row(form.societe) }}
  272.                                      </div>
  273.                                  </div>
  274.                                  <div class=\"col-12 col-sm-6\">
  275.                                      <div class=\"pi-input-with-icon pos-relative\">
  276.                                          <div class=\"pi-input-icon\">
  277.                                              <i class=\"icon-mail\"></i>
  278.                                          </div>
  279.                                          {{ form_row(form.email) }}
  280.                                      </div>
  281.                                  </div>
  282.                             </div>
  283.                             <div class=\"row \">
  284.                                 <div class=\"col-12 col-sm-6\">
  285.                                     <div class=\"pi-input-with-icon pos-relative\">
  286.                                         <div class=\"pi-input-icon\">
  287.                                             <i class=\"icon-users\"></i>
  288.                                         </div>
  289.                                          {{ form_row(form.nom) }}
  290.                                     </div>
  291.                                 </div>
  292.                                 <div class=\"col-12 col-sm-6\">
  293.                                     <div class=\"pi-input-with-icon pos-relative\">
  294.                                         <div class=\"pi-input-icon\">
  295.                                             <i class=\"icon-users\"></i>
  296.                                         </div>
  297.                                         {{ form_row(form.prenom) }}
  298.                                     </div>
  299.                                 </div>
  300.                             </div>
  301.                             <div class=\"row \">
  302.                                 <div class=\"col-12 col-sm-6\">
  303.                                     <div class=\"pi-input-with-icon pos-relative\">
  304.                                         <div class=\"pi-input-icon\">
  305.                                             <i class=\"icon-phone\"></i>
  306.                                         </div>
  307.                                         {{ form_row(form.telephone) }}
  308.                                     </div>
  309.                                 </div>
  310.                                 <div class=\"col-12 col-sm-6\">
  311.                                     <div class=\"pi-input-with-icon pos-relative\">
  312.                                         <div class=\"pi-input-icon\">
  313.                                             <i class=\"icon-home\"></i>
  314.                                         </div>
  315.                                         {{ form_row(form.adresse) }}
  316.                                     </div>
  317.                                 </div>
  318.                             </div>
  319.                             <div class=\"row \">
  320.                                 <div class=\"col-12 col-sm-6\">
  321.                                     <div class=\"pi-input-with-icon pos-relative\">
  322.                                         <div class=\"pi-input-icon\">
  323.                                             <i class=\"icon-home\"></i>
  324.                                         </div>
  325.                                         {{ form_row(form.departement) }}
  326.                                     </div>
  327.                                 </div>
  328.                                 <div class=\"col-12 col-sm-6\">
  329.                                     <div class=\"pi-input-with-icon pos-relative\">
  330.                                         <div class=\"pi-input-icon\">
  331.                                             <i class=\"icon-home\"></i>
  332.                                         </div>
  333.                                         {{ form_row(form.ville) }}
  334.                                     </div>
  335.                                 </div>
  336.                             </div>
  337.                             <div class=\"row\">
  338.                                 <div class=\"col\">
  339.                                     <div class=\"form-group\">
  340.                                         <div class=\"pi-input-with-icon pos-relative\">
  341.                                             <div class=\"pi-input-icon\">
  342.                                                 <i class=\"icon-pencil\"></i>
  343.                                             </div>
  344.                                             {{ form_row(form.message) }}
  345.                                         </div>
  346.                                     </div>
  347.                                 </div>
  348.                             </div>
  349.                              {{ sylius_template_event('sylius.shop.contact.request.form', {'form': form}) }}
  350.                             <div class=\"row\">
  351.                                 <div class=\"col-12 col-sm\">
  352.                                     <div class=\"input-group text-left w-100\">
  353.                                         {{ form_row(form.attachment) }}
  354.                                     </div>
  355.                                 </div>
  356.                                 <div class=\"col-12 col-sm-auto text-right\">
  357.                                  {{ form_row(form._token) }}
  358.                                     <button type=\"submit\" class=\"btn-link\" {{ sylius_test_html_attribute('send-button') }}>{{ 'sylius.ui.send'|trans }}</button>
  359.                                 </div>
  360.                             </div>
  361.                             {{ form_end(form, {'render_rest': false}) }}
  362.                             {{ form_end(form, {'render_rest': false}) }}
  363.                         </div>
  364.                     </div>
  365.                 </div>
  366.             </div>
  367.         </div>
  368. {% endblock %}
  369. ""@SyliusShop/Contact/_request.html.twig""/home/rayonnage/preprod/sylius/themes/BootstrapTheme/SyliusShopBundle/views/Contact/_request.html.twig");
  370.     }
  371. }