<?php
use Twig\Environment;
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;
/* @SyliusShop/Contact/_request.html.twig */
class __TwigTemplate_763504071158429514e18a526d0210d91ef67cc4c2b91c9242450e6f5d1439c1 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Contact/_request.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Contact/_request.html.twig"));
// line 1
echo "
";
// line 3
$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); })()), [0 => "@SyliusShop/Form/theme.html.twig"], true);
// line 4
echo "
";
// line 6
$this->displayBlock('content', $context, $blocks);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 7
echo " <div class=\"contact-footer\">
<img src=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/bg_contact.jpg", "bootstrapTheme"), "html", null, true);
echo "\" alt=\"\" class=\"wow fadeIn\" data-wow-duration=\"2s\" data-wow-delay=\"1s\"/>
<div class=\"contact-container\">
<div class=\"form_contact wow fadeInDown\" data-wow-duration=\"1.5s\" data-wow-delay=\"1.5s\" >
<div class=\"pi-section pi-no-padding\">
<h1 class=\"titre-medium text-center\">";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.contact.plus_infos"), "html", null, true);
echo "</h1>
<p class=\"my-3\">";
// line 13
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", null, true);
echo "</p>
<div class=\"contact_form\">
";
// line 15
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"]]);
echo "
";
// line 16
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", false, false, false, 16), 'row');
echo "
<div class=\"row\">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
";
// line 23
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", false, false, false, 23), 'row');
echo "
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-mail\"></i>
</div>
";
// line 31
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", false, false, false, 31), 'row');
echo "
</div>
</div>
</div>
<div class=\"row \">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-users\"></i>
</div>
";
// line 41
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", false, false, false, 41), 'row');
echo "
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-users\"></i>
</div>
";
// line 49
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", false, false, false, 49), 'row');
echo "
</div>
</div>
</div>
<div class=\"row \">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-phone\"></i>
</div>
";
// line 59
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", false, false, false, 59), 'row');
echo "
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
";
// line 67
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", false, false, false, 67), 'row');
echo "
</div>
</div>
</div>
<div class=\"row \">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
";
// line 77
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", false, false, false, 77), 'row');
echo "
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
";
// line 85
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", false, false, false, 85), 'row');
echo "
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<div class=\"form-group\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-pencil\"></i>
</div>
";
// line 96
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", false, false, false, 96), 'row');
echo "
</div>
</div>
</div>
</div>
";
// line 101
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); })())]);
echo "
<div class=\"row\">
<div class=\"col-12 col-sm\">
<div class=\"input-group text-left w-100\">
";
// line 105
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", false, false, false, 105), 'row');
echo "
</div>
</div>
<div class=\"col-12 col-sm-auto text-right\">
";
// line 109
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", false, false, false, 109), 'row');
echo "
<button type=\"submit\" class=\"btn-link\" ";
// line 110
echo call_user_func_array($this->env->getFunction('sylius_test_html_attribute')->getCallable(), ["send-button"]);
echo ">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.send"), "html", null, true);
echo "</button>
</div>
</div>
";
// line 113
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]);
echo "
";
// line 114
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]);
echo "
</div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Contact/_request.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
{% block content %}
<div class=\"contact-footer\">
<img src=\"{{ asset('images/bg_contact.jpg', 'bootstrapTheme') }}\" alt=\"\" class=\"wow fadeIn\" data-wow-duration=\"2s\" data-wow-delay=\"1s\"/>
<div class=\"contact-container\">
<div class=\"form_contact wow fadeInDown\" data-wow-duration=\"1.5s\" data-wow-delay=\"1.5s\" >
<div class=\"pi-section pi-no-padding\">
<h1 class=\"titre-medium text-center\">{{'app.contact.plus_infos'|trans}}</h1>
<p class=\"my-3\">{{'sylius.ui.use_the_contact_form_below_to_send_us_a_message'|trans}}</p>
<div class=\"contact_form\">
{{ form_start(form, {'action': path('sylius_shop_contact_request'), 'attr': {'class': 'loadable', 'novalidate': 'novalidate'}}) }}
{{ form_row(form._token) }}
<div class=\"row\">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
{{ form_row(form.societe) }}
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-mail\"></i>
</div>
{{ form_row(form.email) }}
</div>
</div>
</div>
<div class=\"row \">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-users\"></i>
</div>
{{ form_row(form.nom) }}
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-users\"></i>
</div>
{{ form_row(form.prenom) }}
</div>
</div>
</div>
<div class=\"row \">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-phone\"></i>
</div>
{{ form_row(form.telephone) }}
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
{{ form_row(form.adresse) }}
</div>
</div>
</div>
<div class=\"row \">
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
{{ form_row(form.departement) }}
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-home\"></i>
</div>
{{ form_row(form.ville) }}
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<div class=\"form-group\">
<div class=\"pi-input-with-icon pos-relative\">
<div class=\"pi-input-icon\">
<i class=\"icon-pencil\"></i>
</div>
{{ form_row(form.message) }}
</div>
</div>
</div>
</div>
{{ sylius_template_event('sylius.shop.contact.request.form', {'form': form}) }}
<div class=\"row\">
<div class=\"col-12 col-sm\">
<div class=\"input-group text-left w-100\">
{{ form_row(form.attachment) }}
</div>
</div>
<div class=\"col-12 col-sm-auto text-right\">
{{ form_row(form._token) }}
<button type=\"submit\" class=\"btn-link\" {{ sylius_test_html_attribute('send-button') }}>{{ 'sylius.ui.send'|trans }}</button>
</div>
</div>
{{ form_end(form, {'render_rest': false}) }}
{{ form_end(form, {'render_rest': false}) }}
</div>
</div>
</div>
</div>
</div>
{% endblock %}
", "@SyliusShop/Contact/_request.html.twig", "/home/rayonnage/preprod/sylius/themes/BootstrapTheme/SyliusShopBundle/views/Contact/_request.html.twig");
}
}