<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* theme/default/component-forms/contact_form_template.html.twig */
class __TwigTemplate_d8bb2641f8fd071db3276e9748c870c6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/component-forms/contact_form_template.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/component-forms/contact_form_template.html.twig"));
// line 1
$macros["forms"] = $this->macros["forms"] = $this->loadTemplate((("theme/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", ["APP_THEME"], "method", false, false, false, 1)) . "/component-forms/_macro_form.html.twig"), "theme/default/component-forms/contact_form_template.html.twig", 1)->unwrap();
// line 2
yield "
<div class=\"contact_form\">
\t<div
\t\tclass=\"container-fluid content-wrapper\">
\t\t";
// line 23
yield "\t\t";
$context["espace_client"] = 1;
// line 24
yield "
\t\t<div class=\"row justify-content-center padding-top padding-bottom\">
\t\t\t<div
\t\t\t\tclass=\"col-lg-6\">
\t\t\t\t";
// line 33
yield "
\t\t\t\t";
// line 35
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 35, $this->source); })()), "param_contact", [], "any", false, false, false, 35), "actifCoordonnees", [], "any", false, false, false, 35) == 1)) {
// line 36
yield "\t\t\t\t\t<div class=\"bloc-items-contact\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
\t\t\t\t\t\t\t\t";
// line 39
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::displayContactsList"));
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
\t\t\t\t\t\t\t\t";
// line 42
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::displayContactHoursPage"));
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
}
// line 48
yield "\t\t\t</div>
\t\t\t";
// line 51
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 51, $this->source); })()), "form", [], "any", false, false, false, 51)) {
// line 52
yield "\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t<form id=\"form-widget-";
// line 53
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\CryptExtension']->encryptValue(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 53, $this->source); })()), "form", [], "any", false, false, false, 53), "id", [], "any", false, false, false, 53)), "html", null, true);
yield "\" class=\"form-widget\" novalidate=\"novalidate\" enctype=\"multipart/form-data\" method=\"post\" action=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("submit_request");
yield "\" data-status=\"init\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t";
// line 55
$context["message"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("validation_form", [], "variable");
// line 56
yield "\t\t\t\t\t\t\t";
$context["dataForm"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 56, $this->source); })()), "form", [], "any", false, false, false, 56), "data", [], "any", false, false, false, 56), "page-1", [], "array", false, false, false, 56);
// line 57
yield "\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["dataForm"]) || array_key_exists("dataForm", $context) ? $context["dataForm"] : (function () { throw new RuntimeError('Variable "dataForm" does not exist.', 57, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 58
yield "\t\t\t\t\t\t\t\t";
$context["label"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "label", [], "any", true, true, false, 58)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 58), null)) : (null));
// line 59
yield "\t\t\t\t\t\t\t\t";
$context["type"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", true, true, false, 59)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 59), null)) : (null));
// line 60
yield "\t\t\t\t\t\t\t\t";
$context["name"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "name", [], "any", true, true, false, 60)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 60), "")) : (""));
// line 61
yield "\t\t\t\t\t\t\t\t";
$context["className"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "className", [], "any", true, true, false, 61)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "className", [], "any", false, false, false, 61), "")) : (""));
// line 62
yield "\t\t\t\t\t\t\t\t";
$context["placeholder"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "placeholder", [], "any", true, true, false, 62)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "placeholder", [], "any", false, false, false, 62), "")) : (""));
// line 63
yield "\t\t\t\t\t\t\t\t";
$context["customClass"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "customClass", [], "any", true, true, false, 63)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "customClass", [], "any", false, false, false, 63), "")) : (""));
// line 64
yield "\t\t\t\t\t\t\t\t";
$context["maxlength"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "maxlength", [], "any", true, true, false, 64)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "maxlength", [], "any", false, false, false, 64), null)) : (null));
// line 65
yield "\t\t\t\t\t\t\t\t";
$context["required"] = (((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "required", [], "any", true, true, false, 65) && (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "required", [], "any", false, false, false, 65) == "true"))) ? ("required") : (""));
// line 66
yield "\t\t\t\t\t\t\t\t";
$context["multiple"] = (((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multiple", [], "any", true, true, false, 66) && (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multiple", [], "any", false, false, false, 66) == true))) ? (true) : (false));
// line 67
yield "\t\t\t\t\t\t\t\t";
$context["errorMessage"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", true, true, false, 67)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", false, false, false, 67), (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 67, $this->source); })()))) : ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 67, $this->source); })())));
// line 68
yield "
\t\t\t\t\t\t\t\t<div class=\"";
// line 69
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["customClass"]) || array_key_exists("customClass", $context) ? $context["customClass"] : (function () { throw new RuntimeError('Variable "customClass" does not exist.', 69, $this->source); })()), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t";
// line 70
if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 70) == "header")) {
// line 71
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_header", [CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 71), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 71, $this->source); })())], 71, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 72
$context["item"], "type", [], "any", false, false, false, 72) == "paragraph")) {
// line 73
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_header", [CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 73), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 73, $this->source); })())], 73, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 74
$context["item"], "type", [], "any", false, false, false, 74) == "button")) {
// line 75
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_button", [(isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 75, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 75), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 75, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 75, $this->source); })())], 75, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 76
$context["item"], "type", [], "any", false, false, false, 76) == "select")) {
// line 77
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_select", [(isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 77, $this->source); })()), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 77, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 77, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multiple", [], "any", false, false, false, 77), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "values", [], "any", false, false, false, 77), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 77, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 77, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 77, $this->source); })())], 77, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 78
$context["item"], "type", [], "any", false, false, false, 78) == "textarea")) {
// line 79
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_textarea", [(isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 79, $this->source); })()), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 79, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 79, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 79, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 79, $this->source); })()), ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "rows", [], "any", true, true, false, 79)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "rows", [], "any", false, false, false, 79), 6)) : (6)), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 79, $this->source); })())], 79, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 80
$context["item"], "type", [], "any", false, false, false, 80) == "checkbox-group")) {
// line 81
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_checkbox", [(isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 81, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "values", [], "any", false, false, false, 81), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 81, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 81, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 81, $this->source); })())], 81, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
} elseif (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, // line 83
$context["item"], "type", [], "any", false, false, false, 83), ["number", "text", "file", "hidden"])) {
// line 84
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_input", [(isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 84, $this->source); })()), (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 84, $this->source); })()), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 84, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 84, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 84, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 84, $this->source); })()), (isset($context["maxlength"]) || array_key_exists("maxlength", $context) ? $context["maxlength"] : (function () { throw new RuntimeError('Variable "maxlength" does not exist.', 84, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 84, $this->source); })()), (isset($context["multiple"]) || array_key_exists("multiple", $context) ? $context["multiple"] : (function () { throw new RuntimeError('Variable "multiple" does not exist.', 84, $this->source); })())], 84, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 85
$context["item"], "type", [], "any", false, false, false, 85) == "date")) {
// line 86
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::callMacro($macros["forms"], "macro_inputDate", [(isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 86, $this->source); })()), (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 86, $this->source); })()), ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", true, true, false, 86)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 86), "date")) : ("date")), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 86, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 86, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 86, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 86, $this->source); })()), (isset($context["maxlength"]) || array_key_exists("maxlength", $context) ? $context["maxlength"] : (function () { throw new RuntimeError('Variable "maxlength" does not exist.', 86, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 86, $this->source); })())], 86, $context, $this->getSourceContext());
yield "
\t\t\t\t\t\t\t\t\t";
}
// line 88
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 90
yield "
\t\t\t\t\t\t\t<input type=\"hidden\" name=\"token_id\" value=\"";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("form_handler"), "html", null, true);
yield "\">
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t";
}
// line 96
yield "\t\t</div>
\t</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "theme/default/component-forms/contact_form_template.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 229 => 96, 221 => 91, 218 => 90, 211 => 88, 205 => 86, 203 => 85, 198 => 84, 196 => 83, 190 => 81, 188 => 80, 183 => 79, 181 => 78, 176 => 77, 174 => 76, 169 => 75, 167 => 74, 162 => 73, 160 => 72, 155 => 71, 153 => 70, 149 => 69, 146 => 68, 143 => 67, 140 => 66, 137 => 65, 134 => 64, 131 => 63, 128 => 62, 125 => 61, 122 => 60, 119 => 59, 116 => 58, 111 => 57, 108 => 56, 106 => 55, 99 => 53, 96 => 52, 94 => 51, 89 => 48, 80 => 42, 74 => 39, 69 => 36, 67 => 35, 63 => 33, 56 => 24, 53 => 23, 46 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% import \"theme/\"~ app.request.server.get('APP_THEME') ~\"/component-forms/_macro_form.html.twig\" as forms %}
<div class=\"contact_form\">
\t<div
\t\tclass=\"container-fluid content-wrapper\">
\t\t{#
\t\t\t\t\t\t{% if bloc.form %}
\t\t\t\t\t\t\t{% if bloc.form.name != '' %}
\t\t\t\t\t\t\t\t<div class=\"titre-content-contact\">
\t\t\t\t\t\t\t\t\t<h2 class=\"title-2 text-start\">{{bloc.form.name|raw }}</h2>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t
\t\t\t\t\t\t\t{% if bloc.form.text_name != '' %}
\t\t\t\t\t\t\t\t<div class=\"text-content-contact\">
\t\t\t\t\t\t\t\t\t<p class=\"text-start\">{{bloc.form.text_name|raw}}</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t
\t\t\t\t#}
\t\t{% set espace_client = 1 %}
\t\t<div class=\"row justify-content-center padding-top padding-bottom\">
\t\t\t<div
\t\t\t\tclass=\"col-lg-6\">
\t\t\t\t{#
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactMap')) }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t #}
\t\t\t\t{% if bloc.param_contact.actifCoordonnees == 1 %}
\t\t\t\t\t<div class=\"bloc-items-contact\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
\t\t\t\t\t\t\t\t{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactsList')) }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
\t\t\t\t\t\t\t\t{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactHoursPage')) }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t{% endif %}
\t\t\t</div>
\t\t\t{% if bloc.form %}
\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t<form id=\"form-widget-{{bloc.form.id|encrypt}}\" class=\"form-widget\" novalidate=\"novalidate\" enctype=\"multipart/form-data\" method=\"post\" action=\"{{path('submit_request')}}\" data-status=\"init\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t{% set message = 'validation_form'|trans([],'variable') %}
\t\t\t\t\t\t\t{% set dataForm = bloc.form.data['page-1'] %}
\t\t\t\t\t\t\t{% for item in dataForm %}
\t\t\t\t\t\t\t\t{% set label = item.label|default(null) %}
\t\t\t\t\t\t\t\t{% set type = item.type|default(null) %}
\t\t\t\t\t\t\t\t{% set name = item.name|default('') %}
\t\t\t\t\t\t\t\t{% set className = item.className|default('') %}
\t\t\t\t\t\t\t\t{% set placeholder = item.placeholder|default('') %}
\t\t\t\t\t\t\t\t{% set customClass = item.customClass|default('') %}
\t\t\t\t\t\t\t\t{% set maxlength = item.maxlength|default(null) %}
\t\t\t\t\t\t\t\t{% set required = item.required is defined and item.required == 'true' ? 'required' : '' %}
\t\t\t\t\t\t\t\t{% set multiple = item.multiple is defined and item.multiple == true ? true : false %}
\t\t\t\t\t\t\t\t{% set errorMessage = item.ErrorMessage|default(message) %}
\t\t\t\t\t\t\t\t<div class=\"{{ customClass }}\">
\t\t\t\t\t\t\t\t\t{% if item.type == \"header\" %}
\t\t\t\t\t\t\t\t\t\t{{ forms.header(item.subtype, label) }}
\t\t\t\t\t\t\t\t\t{% elseif item.type == \"paragraph\" %}
\t\t\t\t\t\t\t\t\t\t{{ forms.header(item.subtype, label) }}
\t\t\t\t\t\t\t\t\t{% elseif item.type == \"button\" %}
\t\t\t\t\t\t\t\t\t\t{{ forms.button(name,item.subtype,className,label) }}
\t\t\t\t\t\t\t\t\t{% elseif item.type == \"select\" %}
\t\t\t\t\t\t\t\t\t\t{{ forms.select(name, className,required, item.multiple,item.values,label,placeholder,errorMessage) }}
\t\t\t\t\t\t\t\t\t{% elseif item.type == \"textarea\" %}
\t\t\t\t\t\t\t\t\t\t{{ forms.textarea(name, className,required, label, placeholder, item.rows|default(6),errorMessage) }}
\t\t\t\t\t\t\t\t\t{% elseif item.type == \"checkbox-group\" %}
\t\t\t\t\t\t\t\t\t\t{{ forms.checkbox(name, item.values, required,errorMessage, label) }}
\t\t\t\t\t\t\t\t\t{% elseif item.type in ['number', 'text', 'file','hidden'] %}
\t\t\t\t\t\t\t\t\t\t{{ forms.input(name, type,className,required,label,placeholder,maxlength,errorMessage,multiple) }}
\t\t\t\t\t\t\t\t\t{% elseif item.type == 'date' %}
\t\t\t\t\t\t\t\t\t\t{{ forms.inputDate(name,type,item.subtype|default('date'),className,required,label,placeholder,maxlength,errorMessage) }}
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t<input type=\"hidden\" name=\"token_id\" value=\"{{ csrf_token('form_handler') }}\">
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t</div>
\t</div>
</div>
", "theme/default/component-forms/contact_form_template.html.twig", "/home/sc5kala4210/agence.lebureaudessites.fr/templates/theme/default/component-forms/contact_form_template.html.twig");
}
}