- <?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;
- /* front/theme1/form/contact_form.html.twig */
- class __TwigTemplate_a9e7f7f4299a511a3df0582b1a125492 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", "front/theme1/form/contact_form.html.twig"));
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/form/contact_form.html.twig"));
-         // line 1
-         $macros["forms"] = $this->macros["forms"] = $this->loadTemplate((("front/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($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", [0 => "APP_THEME"], "method", false, false, false, 1)) . "/form/macro_form.html.twig"), "front/theme1/form/contact_form.html.twig", 1)->unwrap();
-         // line 2
-         echo "
- ";
-         // line 3
-         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\FunctionController::renderContacts"));
-         echo "
- <section class=\"contact_form text-center\">
- <div class=\"container-fluid wrapper\">
-     <div class=\"row justify-content-center\">     
- \t\t";
-         // line 8
-         if (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 8, $this->source); })()), "form", [], "any", false, false, false, 8)) {
-             // line 9
-             echo "        <div class=\"col-md-8\">
- \t\t\t<form id=\"form-";
-             // line 10
-             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 10, $this->source); })()), "form", [], "any", false, false, false, 10), "id", [], "any", false, false, false, 10), "html", null, true);
-             echo "\" action=\"";
-             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("save_form");
-             echo "\" method=\"post\" class=\"needs-validation row  form-recap ";
-             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 10, $this->source); })()), "form", [], "any", false, false, false, 10), "identifier", [], "any", false, false, false, 10), "html", null, true);
-             echo "\" enctype=\"multipart/form-data\" novalidate>
- \t\t\t\t";
-             // line 12
-             $context['_parent'] = $context;
-             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "flashes", [0 => ("success-form-" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 12, $this->source); })()), "form", [], "any", false, false, false, 12), "id", [], "any", false, false, false, 12))], "method", false, false, false, 12));
-             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
-                 // line 13
-                 echo "\t\t\t\t\t<div class=\"alert alert-success alert-form mx-auto\">
- \t\t\t\t\t\t";
-                 // line 14
-                 echo $context["message"];
-                 echo "
- \t\t\t\t\t</div>
- \t\t\t\t";
-             }
-             $_parent = $context['_parent'];
-             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
-             $context = array_intersect_key($context, $_parent) + $_parent;
-             // line 17
-             echo "
- \t\t\t\t";
-             // line 18
-             $context['_parent'] = $context;
-             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "flashes", [0 => ("error-form-" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 18, $this->source); })()), "form", [], "any", false, false, false, 18), "id", [], "any", false, false, false, 18))], "method", false, false, false, 18));
-             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
-                 // line 19
-                 echo "\t\t\t\t\t<div class=\"alert alert-danger alert-form mx-auto\">
- \t\t\t\t\t\t";
-                 // line 20
-                 echo $context["message"];
-                 echo "
- \t\t\t\t\t</div>
- \t\t\t\t";
-             }
-             $_parent = $context['_parent'];
-             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
-             $context = array_intersect_key($context, $_parent) + $_parent;
-             // line 23
-             echo "\t\t\t\t
- \t\t\t\t";
-             // line 24
-             $context["message"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("validation_form", [], "variable");
-             // line 25
-             echo "\t\t\t\t<input type=\"hidden\" value=\"";
-             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 25, $this->source); })()), "form", [], "any", false, false, false, 25), "id", [], "any", false, false, false, 25), "html", null, true);
-             echo "\" name=\"IdForm\">
- \t\t        
-                 <div class=\"contact-border\">
-                     <div class=\"icon-header\"></div>
-                     <div class=\"row\">
-                         ";
-             // line 30
-             $context['_parent'] = $context;
-             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 30, $this->source); })()), "form", [], "any", false, false, false, 30), "data", [], "any", false, false, false, 30));
-             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
-                 // line 31
-                 echo "                            ";
-                 $context["label"] = ((twig_get_attribute($this->env, $this->source, $context["item"], "label", [], "any", true, true, false, 31)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 31), null)) : (null));
-                 // line 32
-                 echo "                            ";
-                 $context["placeholder"] = ((twig_get_attribute($this->env, $this->source, $context["item"], "placeholder", [], "any", true, true, false, 32)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "placeholder", [], "any", false, false, false, 32), null)) : (null));
-                 // line 33
-                 echo "
-                             ";
-                 // line 34
-                 if ((twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 34) == "text")) {
-                     // line 35
-                     echo "                                <div ";
-                     if (twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", true, true, false, 35)) {
-                         echo " class=\"col-md-6 col-lg-4 ";
-                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", false, false, false, 35), "html", null, true);
-                         echo " ";
-                         echo (((twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 35) == "ctc_city")) ? ("ctc_city") : (""));
-                         echo "\" ";
-                     } else {
-                         echo " class=\"col-md-6 col-lg-4 ";
-                         echo (((twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 35) == "ctc_city")) ? ("ctc_city") : (""));
-                         echo "\" ";
-                     }
-                     echo ">
-                                     <div class=\"form-group\">
-                                         ";
-                     // line 37
-                     echo twig_call_macro($macros["forms"], "macro_input", [twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, $context["item"], "className", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, $context["item"], "required", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 37), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 37, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 37, $this->source); })()), ((twig_get_attribute($this->env, $this->source, $context["item"], "maxlength", [], "any", true, true, false, 37)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "maxlength", [], "any", false, false, false, 37), null)) : (null))], 37, $context, $this->getSourceContext());
-                     echo "
-                                         <div class=\"invalid-feedback\">
-                                             ";
-                     // line 39
-                     if ((twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 39) == "ctc_postcode")) {
-                         // line 40
-                         echo "                                                ";
-                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("validation_code_postal", [], "variable"), "html", null, true);
-                         echo "
-                                             ";
-                     } else {
-                         // line 42
-                         echo "                                                ";
-                         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", true, true, false, 42)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", false, false, false, 42), (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 42, $this->source); })()))) : ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 42, $this->source); })()))), "html", null, true);
-                         echo "
-                                             ";
-                     }
-                     // line 44
-                     echo "                                        </div>
-                                     </div>
-                                 </div>
-                             ";
-                 } elseif ((twig_get_attribute($this->env, $this->source,                 // line 48
- $context["item"], "type", [], "any", false, false, false, 48) == "select")) {
-                     // line 49
-                     echo "                                <div ";
-                     if (twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", true, true, false, 49)) {
-                         echo " class=\"col-sm-12 ";
-                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", false, false, false, 49), "html", null, true);
-                         echo "\" ";
-                     } else {
-                         echo " class=\"col-sm-12\" ";
-                     }
-                     echo ">
-                                     <div class=\"form-group\">
-                                         ";
-                     // line 51
-                     echo twig_call_macro($macros["forms"], "macro_select", [twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 51), twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 51), twig_get_attribute($this->env, $this->source, $context["item"], "className", [], "any", false, false, false, 51), twig_get_attribute($this->env, $this->source, $context["item"], "required", [], "any", false, false, false, 51), twig_get_attribute($this->env, $this->source, $context["item"], "multiple", [], "any", false, false, false, 51), twig_get_attribute($this->env, $this->source, $context["item"], "values", [], "any", false, false, false, 51), (isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 51, $this->source); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 51, $this->source); })())], 51, $context, $this->getSourceContext());
-                     echo "
-                                         <div class=\"invalid-feedback\">
-                                             ";
-                     // line 53
-                     echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", true, true, false, 53)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", false, false, false, 53), (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 53, $this->source); })()))) : ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 53, $this->source); })()))), "html", null, true);
-                     echo "
-                                         </div>
-                                     </div>
-                                 </div>
-                             ";
-                 } elseif ((twig_get_attribute($this->env, $this->source,                 // line 58
- $context["item"], "type", [], "any", false, false, false, 58) == "textarea")) {
-                     // line 59
-                     echo "                                <div ";
-                     if (twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", true, true, false, 59)) {
-                         echo " class=\"";
-                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", false, false, false, 59), "html", null, true);
-                         echo "\" ";
-                     } else {
-                         echo " class=\"col-sm-12\" ";
-                     }
-                     echo ">
-                                     <div class=\"form-group\">
-                                         ";
-                     // line 61
-                     echo twig_call_macro($macros["forms"], "macro_textarea", [twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 61), twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 61), ((twig_get_attribute($this->env, $this->source, $context["item"], "className", [], "any", true, true, false, 61)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "className", [], "any", false, false, false, 61), "")) : ("")), twig_get_attribute($this->env, $this->source, $context["item"], "required", [], "any", false, false, false, 61), twig_get_attribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 61), ((twig_get_attribute($this->env, $this->source, $context["item"], "label", [], "any", true, true, false, 61)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 61), "")) : ("")), ((twig_get_attribute($this->env, $this->source, $context["item"], "placeholder", [], "any", true, true, false, 61)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "placeholder", [], "any", false, false, false, 61), "")) : ("")), ((twig_get_attribute($this->env, $this->source, $context["item"], "rows", [], "any", true, true, false, 61)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "rows", [], "any", false, false, false, 61), "")) : (""))], 61, $context, $this->getSourceContext());
-                     echo "
-                                         <div class=\"invalid-feedback\">
-                                             ";
-                     // line 63
-                     echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", true, true, false, 63)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", false, false, false, 63), (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 63, $this->source); })()))) : ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 63, $this->source); })()))), "html", null, true);
-                     echo "
-                                         </div>
-                                     </div>
-                                 </div>
-                             ";
-                 } elseif ((twig_get_attribute($this->env, $this->source,                 // line 68
- $context["item"], "type", [], "any", false, false, false, 68) == "file")) {
-                     // line 69
-                     echo "                                <div ";
-                     if (twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", true, true, false, 69)) {
-                         echo " class=\"col-md-6 col-lg-4 input-file ";
-                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", false, false, false, 69), "html", null, true);
-                         echo "\" ";
-                     } else {
-                         echo " class=\"col-md-6 col-lg-4 text-left\" ";
-                     }
-                     echo ">
-                                     <div class=\"form-group\">
-                                         ";
-                     // line 71
-                     echo twig_call_macro($macros["forms"], "macro_input", [twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 71), twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 71), twig_get_attribute($this->env, $this->source, $context["item"], "className", [], "any", false, false, false, 71), twig_get_attribute($this->env, $this->source, $context["item"], "required", [], "any", false, false, false, 71), twig_get_attribute($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); })()), (isset($context["placeholder"]) || array_key_exists("placeholder", $context) ? $context["placeholder"] : (function () { throw new RuntimeError('Variable "placeholder" does not exist.', 71, $this->source); })()), ((twig_get_attribute($this->env, $this->source, $context["item"], "maxlength", [], "any", true, true, false, 71)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "maxlength", [], "any", false, false, false, 71), null)) : (null))], 71, $context, $this->getSourceContext());
-                     echo "
-                                         <div class=\"invalid-feedback\">
-                                             ";
-                     // line 73
-                     echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", true, true, false, 73)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["item"], "ErrorMessage", [], "any", false, false, false, 73), (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 73, $this->source); })()))) : ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 73, $this->source); })()))), "html", null, true);
-                     echo "
-                                         </div>
-                                     </div>
-                                 </div>
-                             ";
-                 } elseif (((twig_get_attribute($this->env, $this->source,                 // line 78
- $context["item"], "type", [], "any", false, false, false, 78) == "button") && (twig_get_attribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 78) != "submit"))) {
-                     // line 79
-                     echo "                                 ";
-                     // line 84
-                     echo "                            ";
-                 } elseif ((twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 84) == "checkbox-group")) {
-                     // line 85
-                     echo "                                <div class=\"";
-                     if (twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", true, true, false, 85)) {
-                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", false, false, false, 85), "html", null, true);
-                     } else {
-                         echo "col-sm-12 d-flex justify-content-center";
-                     }
-                     echo "\">
-                                     ";
-                     // line 87
-                     echo "                                    <div class=\"form-group  ";
-                     if ((twig_get_attribute($this->env, $this->source, $context["item"], "inline", [], "any", true, true, false, 87) && (twig_get_attribute($this->env, $this->source, $context["item"], "inline", [], "any", false, false, false, 87) == "true"))) {
-                         echo "d-flex";
-                     }
-                     echo "\">
-                                         ";
-                     // line 88
-                     echo twig_call_macro($macros["forms"], "macro_checkbox", [twig_get_attribute($this->env, $this->source, $context["item"], "required", [], "any", false, false, false, 88), twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 88), twig_get_attribute($this->env, $this->source, $context["item"], "values", [], "any", false, false, false, 88)], 88, $context, $this->getSourceContext());
-                     echo "
-                                     </div>
-                                 </div>
-                             ";
-                 } elseif ((twig_get_attribute($this->env, $this->source,                 // line 91
- $context["item"], "type", [], "any", false, false, false, 91) == "paragraph")) {
-                     // line 92
-                     echo "                                <div class=\"";
-                     if (twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", true, true, false, 92)) {
-                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "classGlobal", [], "any", false, false, false, 92), "html", null, true);
-                     } else {
-                         echo "col-sm-12";
-                     }
-                     echo "\">
-                                     <p>";
-                     // line 93
-                     echo $this->extensions['App\Twig\TextExtension']->unescape(twig_get_attribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 93));
-                     echo "</p>
-                                 </div>
-                             ";
-                 } elseif (((twig_get_attribute($this->env, $this->source,                 // line 95
- $context["item"], "type", [], "any", false, false, false, 95) == "button") && (twig_get_attribute($this->env, $this->source, $context["item"], "subtype", [], "any", false, false, false, 95) == "submit"))) {
-                     // line 96
-                     echo "                                <div class=\"col-sm-12 d-flex justify-content-center\">
-                                     <div class=\"form-group button-submit\">
-                                         <button class=\"btn btn-primary\" type=\"submit\">";
-                     // line 98
-                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 98), "html", null, true);
-                     echo "</button>
-                                     </div>
-                                 </div>
-                             ";
-                 }
-                 // line 102
-                 echo "                            
-                         ";
-             }
-             $_parent = $context['_parent'];
-             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
-             $context = array_intersect_key($context, $_parent) + $_parent;
-             // line 104
-             echo "                    </div>
-                 </div>
- \t\t\t\t<input type=\"hidden\" id=\"";
-             // line 107
-             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 107, $this->source); })()), "form", [], "any", false, false, false, 107), "id", [], "any", false, false, false, 107), "html", null, true);
-             echo "_captcha\" name=\"g-recaptcha-response\" value=\"\">
- \t\t\t</form>
-             </div>
- \t\t";
-         }
-         // line 112
-         echo "   
-         </div>
-     </div>
- </section>
- ";
-         // line 117
-         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\FunctionController::renderHorairesPageContact"));
-         echo "
- ";
-         // line 118
-         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\FunctionController::renderMapContact"));
-         
-         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
-         
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
-     }
-     public function getTemplateName()
-     {
-         return "front/theme1/form/contact_form.html.twig";
-     }
-     public function isTraitable()
-     {
-         return false;
-     }
-     public function getDebugInfo()
-     {
-         return array (  345 => 118,  341 => 117,  334 => 112,  326 => 107,  321 => 104,  314 => 102,  307 => 98,  303 => 96,  301 => 95,  296 => 93,  287 => 92,  285 => 91,  279 => 88,  272 => 87,  263 => 85,  260 => 84,  258 => 79,  256 => 78,  248 => 73,  243 => 71,  231 => 69,  229 => 68,  221 => 63,  216 => 61,  204 => 59,  202 => 58,  194 => 53,  189 => 51,  177 => 49,  175 => 48,  169 => 44,  163 => 42,  157 => 40,  155 => 39,  150 => 37,  134 => 35,  132 => 34,  129 => 33,  126 => 32,  123 => 31,  119 => 30,  110 => 25,  108 => 24,  105 => 23,  96 => 20,  93 => 19,  89 => 18,  86 => 17,  77 => 14,  74 => 13,  70 => 12,  61 => 10,  58 => 9,  56 => 8,  48 => 3,  45 => 2,  43 => 1,);
-     }
-     public function getSourceContext()
-     {
-         return new Source("{% import \"front/\"~ app.request.server.get('APP_THEME') ~\"/form/macro_form.html.twig\" as forms %}
- {{ render(controller('App\\\\Controller\\\\Front\\\\FunctionController::renderContacts')) }}
- <section class=\"contact_form text-center\">
- <div class=\"container-fluid wrapper\">
-     <div class=\"row justify-content-center\">     
- \t\t{% if bloc.form %}
-         <div class=\"col-md-8\">
- \t\t\t<form id=\"form-{{bloc.form.id}}\" action=\"{{path('save_form')}}\" method=\"post\" class=\"needs-validation row  form-recap {{bloc.form.identifier}}\" enctype=\"multipart/form-data\" novalidate>
- \t\t\t\t{% for message in app.flashes('success-form-' ~ bloc.form.id) %}
- \t\t\t\t\t<div class=\"alert alert-success alert-form mx-auto\">
- \t\t\t\t\t\t{{ message|raw }}
- \t\t\t\t\t</div>
- \t\t\t\t{% endfor %}
- \t\t\t\t{% for message in app.flashes('error-form-' ~ bloc.form.id) %}
- \t\t\t\t\t<div class=\"alert alert-danger alert-form mx-auto\">
- \t\t\t\t\t\t{{ message|raw }}
- \t\t\t\t\t</div>
- \t\t\t\t{% endfor %}
- \t\t\t\t
- \t\t\t\t{% set message = 'validation_form'|trans([],'variable') %}
- \t\t\t\t<input type=\"hidden\" value=\"{{bloc.form.id}}\" name=\"IdForm\">
- \t\t        
-                 <div class=\"contact-border\">
-                     <div class=\"icon-header\"></div>
-                     <div class=\"row\">
-                         {% for item in bloc.form.data %}
-                             {% set label = item.label|default(null)%}
-                             {% set placeholder = item.placeholder|default(null) %}
-                             {% if item.type == \"text\" %}
-                                 <div {% if item.classGlobal is defined %} class=\"col-md-6 col-lg-4 {{item.classGlobal}} {{item.name == 'ctc_city'?'ctc_city':''}}\" {% else %} class=\"col-md-6 col-lg-4 {{item.name == 'ctc_city'?'ctc_city':''}}\" {% endif %}>
-                                     <div class=\"form-group\">
-                                         {{ forms.input(item.name,item.type,item.className,item.required,item.subtype,label,placeholder,item.maxlength|default(null)) }}
-                                         <div class=\"invalid-feedback\">
-                                             {% if item.name == 'ctc_postcode' %}
-                                                 {{'validation_code_postal'|trans([],'variable')}}
-                                             {% else %}
-                                                 {{item.ErrorMessage|default(message)}}
-                                             {% endif %}
-                                         </div>
-                                     </div>
-                                 </div>
-                             {% elseif item.type == \"select\" %}
-                                 <div {% if item.classGlobal is defined %} class=\"col-sm-12 {{item.classGlobal}}\" {% else %} class=\"col-sm-12\" {% endif %}>
-                                     <div class=\"form-group\">
-                                         {{ forms.select(item.type,item.name,item.className,item.required,item.multiple,item.values,label,placeholder) }}
-                                         <div class=\"invalid-feedback\">
-                                             {{item.ErrorMessage|default(message)}}
-                                         </div>
-                                     </div>
-                                 </div>
-                             {% elseif item.type == \"textarea\" %}
-                                 <div {% if item.classGlobal is defined %} class=\"{{item.classGlobal}}\" {% else %} class=\"col-sm-12\" {% endif %}>
-                                     <div class=\"form-group\">
-                                         {{ forms.textarea(item.name,item.type,item.className|default(''),item.required,item.subtype,item.label|default(''),item.placeholder|default(''),item.rows|default('')) }}
-                                         <div class=\"invalid-feedback\">
-                                             {{item.ErrorMessage|default(message)}}
-                                         </div>
-                                     </div>
-                                 </div>
-                             {% elseif item.type == \"file\" %}
-                                 <div {% if item.classGlobal is defined %} class=\"col-md-6 col-lg-4 input-file {{item.classGlobal}}\" {% else %} class=\"col-md-6 col-lg-4 text-left\" {% endif %}>
-                                     <div class=\"form-group\">
-                                         {{ forms.input(item.name,item.type,item.className,item.required,item.subtype,label,placeholder,item.maxlength|default(null)) }}
-                                         <div class=\"invalid-feedback\">
-                                             {{item.ErrorMessage|default(message)}}
-                                         </div>
-                                     </div>
-                                 </div>
-                             {% elseif item.type == \"button\" and item.subtype != \"submit\" %}
-                                  {# <div {% if item.classGlobal is defined %} class=\"{{item.classGlobal}}\" {% else %} class=\"col-sm-12\" {% endif %}>
-                                     <div class=\"form-group\">
-                                         {{ forms.button(item.name,item.type,item.subtype,item.className,item.label) }}
-                                     </div>
-                                 </div>  #}
-                             {% elseif item.type == \"checkbox-group\" %}
-                                 <div class=\"{% if item.classGlobal is defined %}{{item.classGlobal}}{% else %}col-sm-12 d-flex justify-content-center{% endif %}\">
-                                     {# {% if label %}<label>{{label}}</label>{% endif %} #}
-                                     <div class=\"form-group  {% if item.inline is defined and item.inline == \"true\" %}d-flex{% endif %}\">
-                                         {{ forms.checkbox(item.required,item.name,item.values) }}
-                                     </div>
-                                 </div>
-                             {% elseif item.type == \"paragraph\" %}
-                                 <div class=\"{% if item.classGlobal is defined %}{{item.classGlobal}}{% else %}col-sm-12{% endif %}\">
-                                     <p>{{item.label|unescape|raw}}</p>
-                                 </div>
-                             {% elseif item.type == \"button\" and item.subtype == \"submit\" %}
-                                 <div class=\"col-sm-12 d-flex justify-content-center\">
-                                     <div class=\"form-group button-submit\">
-                                         <button class=\"btn btn-primary\" type=\"submit\">{{item.label }}</button>
-                                     </div>
-                                 </div>
-                             {% endif %}
-                             
-                         {% endfor %}
-                     </div>
-                 </div>
- \t\t\t\t<input type=\"hidden\" id=\"{{bloc.form.id}}_captcha\" name=\"g-recaptcha-response\" value=\"\">
- \t\t\t</form>
-             </div>
- \t\t{% endif %}
-    
-         </div>
-     </div>
- </section>
- {{ render(controller('App\\\\Controller\\\\Front\\\\FunctionController::renderHorairesPageContact')) }}
- {{ render(controller('App\\\\Controller\\\\Front\\\\FunctionController::renderMapContact')) }}", "front/theme1/form/contact_form.html.twig", "/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/form/contact_form.html.twig");
-     }
- }
-