<?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_ad13f2b75dffa5bf9511bc7154641d92 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 "
";
// line 3
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.', 3, $this->source); })()), "param_contact", [], "any", false, false, false, 3), "actifCoordonnees", [], "any", false, false, false, 3) == 1)) {
// line 4
yield " <div class=\"bloc-items-contact\">
<div class=\"container-fluid content-wrapper\">
<div class=\"row\">
<div class=\"col-lg-6 col-12\">
";
// line 8
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::displayContactsList"));
yield "
</div>
<div class=\"col-lg-6 col-12\">
";
// line 11
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::displayContactHoursPage"));
yield "
</div>
</div>
</div>
</div>
";
}
// line 16
yield "
<div class=\"contact_form\">
<div class=\"container-fluid content-wrapper\">
";
// line 20
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.', 20, $this->source); })()), "form", [], "any", false, false, false, 20)) {
// line 21
yield " ";
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.', 21, $this->source); })()), "form", [], "any", false, false, false, 21), "name", [], "any", false, false, false, 21) != "")) {
// line 22
yield " <div class=\"titre-content-contact\">
<h2 class=\"title-2 text-start\">";
// line 23
yield 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.', 23, $this->source); })()), "form", [], "any", false, false, false, 23), "name", [], "any", false, false, false, 23);
yield "</h2>
</div>
";
}
// line 26
yield "
";
// line 27
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.', 27, $this->source); })()), "form", [], "any", false, false, false, 27), "text_name", [], "any", false, false, false, 27) != "")) {
// line 28
yield " <div class=\"text-content-contact\">
<p class=\"text-start\">";
// line 29
yield 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.', 29, $this->source); })()), "form", [], "any", false, false, false, 29), "text_name", [], "any", false, false, false, 29);
yield "</p>
</div>
";
}
// line 32
yield " ";
}
// line 33
yield "
";
// line 34
$context["espace_client"] = 1;
yield "
<div class=\"row justify-content-center padding-top padding-bottom\">
";
// line 38
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.', 38, $this->source); })()), "form", [], "any", false, false, false, 38)) {
// line 39
yield " <div class=\"col-lg-6\">
\t <form id=\"form-widget-";
// line 40
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.', 40, $this->source); })()), "form", [], "any", false, false, false, 40), "id", [], "any", false, false, false, 40)), "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\">
<div class=\"row\">
";
// line 42
$context["message"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("validation_form", [], "variable");
// line 43
yield " ";
$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.', 43, $this->source); })()), "form", [], "any", false, false, false, 43), "data", [], "any", false, false, false, 43), "page-1", [], "array", false, false, false, 43);
// line 44
yield " ";
$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.', 44, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 45
yield " ";
$context["label"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "label", [], "any", true, true, false, 45)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 45), null)) : (null));
// line 46
yield " ";
$context["type"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", true, true, false, 46)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 46), null)) : (null));
// line 47
yield " ";
$context["name"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "name", [], "any", true, true, false, 47)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 47), "")) : (""));
// line 48
yield " ";
$context["className"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "className", [], "any", true, true, false, 48)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "className", [], "any", false, false, false, 48), "")) : (""));
// line 49
yield " ";
$context["placeholder"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "placeholder", [], "any", true, true, false, 49)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "placeholder", [], "any", false, false, false, 49), "")) : (""));
// line 50
yield " ";
$context["customClass"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "customClass", [], "any", true, true, false, 50)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "customClass", [], "any", false, false, false, 50), "")) : (""));
// line 51
yield " ";
$context["maxlength"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "maxlength", [], "any", true, true, false, 51)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "maxlength", [], "any", false, false, false, 51), null)) : (null));
// line 52
yield " ";
$context["required"] = (((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "required", [], "any", true, true, false, 52) && (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "required", [], "any", false, false, false, 52) == "true"))) ? ("required") : (""));
// line 53
yield " ";
$context["multiple"] = (((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multiple", [], "any", true, true, false, 53) && (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multiple", [], "any", false, false, false, 53) == true))) ? (true) : (false));
// line 54
yield " ";
$context["errorMessage"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", true, true, false, 54)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", false, false, false, 54), (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 54, $this->source); })()))) : ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 54, $this->source); })())));
// line 55
yield "
<div class=\"";
// line 56
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.', 56, $this->source); })()), "html", null, true);
yield "\">
\t ";
// line 57
if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 57) == "header")) {
// line 58
yield " ";
yield CoreExtension::callMacro($macros["forms"], "macro_header", [CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 58), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 58, $this->source); })())], 58, $context, $this->getSourceContext());
yield "
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 59
$context["item"], "type", [], "any", false, false, false, 59) == "paragraph")) {
// line 60
yield " ";
yield CoreExtension::callMacro($macros["forms"], "macro_header", [CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 60), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 60, $this->source); })())], 60, $context, $this->getSourceContext());
yield "
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 61
$context["item"], "type", [], "any", false, false, false, 61) == "button")) {
// line 62
yield " ";
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.', 62, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 62), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 62, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 62, $this->source); })())], 62, $context, $this->getSourceContext());
yield "
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 63
$context["item"], "type", [], "any", false, false, false, 63) == "select")) {
// line 64
yield " ";
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.', 64, $this->source); })()), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 64, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 64, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multiple", [], "any", false, false, false, 64), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "values", [], "any", false, false, false, 64), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 64, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 64, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 64, $this->source); })())], 64, $context, $this->getSourceContext());
yield "
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 65
$context["item"], "type", [], "any", false, false, false, 65) == "textarea")) {
// line 66
yield " ";
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.', 66, $this->source); })()), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 66, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 66, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 66, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 66, $this->source); })()), ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "rows", [], "any", true, true, false, 66)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "rows", [], "any", false, false, false, 66), 6)) : (6)), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 66, $this->source); })())], 66, $context, $this->getSourceContext());
yield "
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 67
$context["item"], "type", [], "any", false, false, false, 67) == "checkbox-group")) {
// line 68
yield " ";
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.', 68, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, $context["item"], "values", [], "any", false, false, false, 68), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 68, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 68, $this->source); })())], 68, $context, $this->getSourceContext());
yield "
";
} elseif (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, // line 69
$context["item"], "type", [], "any", false, false, false, 69), ["number", "text", "file", "hidden"])) {
// line 70
yield " ";
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.', 70, $this->source); })()), (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 70, $this->source); })()), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 70, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 70, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 70, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 70, $this->source); })()), (isset($context["maxlength"]) || array_key_exists("maxlength", $context) ? $context["maxlength"] : (function () { throw new RuntimeError('Variable "maxlength" does not exist.', 70, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 70, $this->source); })()), (isset($context["multiple"]) || array_key_exists("multiple", $context) ? $context["multiple"] : (function () { throw new RuntimeError('Variable "multiple" does not exist.', 70, $this->source); })())], 70, $context, $this->getSourceContext());
yield "
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 71
$context["item"], "type", [], "any", false, false, false, 71) == "date")) {
// line 72
yield " ";
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.', 72, $this->source); })()), (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 72, $this->source); })()), ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", true, true, false, 72)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 72), "date")) : ("date")), (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 72, $this->source); })()), (isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 72, $this->source); })()), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 72, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 72, $this->source); })()), (isset($context["maxlength"]) || array_key_exists("maxlength", $context) ? $context["maxlength"] : (function () { throw new RuntimeError('Variable "maxlength" does not exist.', 72, $this->source); })()), (isset($context["errorMessage"]) || array_key_exists("errorMessage", $context) ? $context["errorMessage"] : (function () { throw new RuntimeError('Variable "errorMessage" does not exist.', 72, $this->source); })())], 72, $context, $this->getSourceContext());
yield "
";
}
// line 74
yield " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 76
yield "
<input type=\"hidden\" name=\"token_id\" value=\"";
// line 77
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("form_handler"), "html", null, true);
yield "\">
</div>
</form>
</div>
";
}
// line 82
yield " <div class=\"col-lg-6\">
";
// line 83
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::displayContactMap"));
yield "
</div>
</div>
</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 ( 256 => 83, 253 => 82, 245 => 77, 242 => 76, 235 => 74, 229 => 72, 227 => 71, 222 => 70, 220 => 69, 215 => 68, 213 => 67, 208 => 66, 206 => 65, 201 => 64, 199 => 63, 194 => 62, 192 => 61, 187 => 60, 185 => 59, 180 => 58, 178 => 57, 174 => 56, 171 => 55, 168 => 54, 165 => 53, 162 => 52, 159 => 51, 156 => 50, 153 => 49, 150 => 48, 147 => 47, 144 => 46, 141 => 45, 136 => 44, 133 => 43, 131 => 42, 124 => 40, 121 => 39, 119 => 38, 112 => 34, 109 => 33, 106 => 32, 100 => 29, 97 => 28, 95 => 27, 92 => 26, 86 => 23, 83 => 22, 80 => 21, 78 => 20, 72 => 16, 63 => 11, 57 => 8, 51 => 4, 49 => 3, 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 %}
{% if bloc.param_contact.actifCoordonnees == 1 %}
<div class=\"bloc-items-contact\">
<div class=\"container-fluid content-wrapper\">
<div class=\"row\">
<div class=\"col-lg-6 col-12\">
{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactsList')) }}
</div>
<div class=\"col-lg-6 col-12\">
{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactHoursPage')) }}
</div>
</div>
</div>
</div>
{% endif %}
<div class=\"contact_form\">
<div class=\"container-fluid content-wrapper\">
{% if bloc.form %}
{% if bloc.form.name != '' %}
<div class=\"titre-content-contact\">
<h2 class=\"title-2 text-start\">{{bloc.form.name|raw }}</h2>
</div>
{% endif %}
{% if bloc.form.text_name != '' %}
<div class=\"text-content-contact\">
<p class=\"text-start\">{{bloc.form.text_name|raw}}</p>
</div>
{% endif %}
{% endif %}
{% set espace_client = 1 %}
<div class=\"row justify-content-center padding-top padding-bottom\">
{% if bloc.form %}
<div class=\"col-lg-6\">
\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\">
<div class=\"row\">
{% set message = 'validation_form'|trans([],'variable') %}
{% set dataForm = bloc.form.data['page-1'] %}
{% for item in dataForm %}
{% set label = item.label|default(null) %}
{% set type = item.type|default(null) %}
{% set name = item.name|default('') %}
{% set className = item.className|default('') %}
{% set placeholder = item.placeholder|default('') %}
{% set customClass = item.customClass|default('') %}
{% set maxlength = item.maxlength|default(null) %}
{% set required = item.required is defined and item.required == 'true' ? 'required' : '' %}
{% set multiple = item.multiple is defined and item.multiple == true ? true : false %}
{% set errorMessage = item.ErrorMessage|default(message) %}
<div class=\"{{ customClass }}\">
\t {% if item.type == \"header\" %}
{{ forms.header(item.subtype, label) }}
{% elseif item.type == \"paragraph\" %}
{{ forms.header(item.subtype, label) }}
{% elseif item.type == \"button\" %}
{{ forms.button(name,item.subtype,className,label) }}
{% elseif item.type == \"select\" %}
{{ forms.select(name, className,required, item.multiple,item.values,label,placeholder,errorMessage) }}
{% elseif item.type == \"textarea\" %}
{{ forms.textarea(name, className,required, label, placeholder, item.rows|default(6),errorMessage) }}
{% elseif item.type == \"checkbox-group\" %}
{{ forms.checkbox(name, item.values, required,errorMessage) }}
{% elseif item.type in ['number', 'text', 'file','hidden'] %}
{{ forms.input(name, type,className,required,label,placeholder,maxlength,errorMessage,multiple) }}
{% elseif item.type == 'date' %}
{{ forms.inputDate(name,type,item.subtype|default('date'),className,required,label,placeholder,maxlength,errorMessage) }}
{% endif %}
</div>
{% endfor %}
<input type=\"hidden\" name=\"token_id\" value=\"{{ csrf_token('form_handler') }}\">
</div>
</form>
</div>
{% endif %}
<div class=\"col-lg-6\">
{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactMap')) }}
</div>
</div>
</div>
</div>", "theme/default/component-forms/contact_form_template.html.twig", "/var/www/vhosts/klean.studiojna.fr/httpdocs/templates/theme/default/component-forms/contact_form_template.html.twig");
}
}