var/cache/dev/twig/18/181661ff2c4f7ae04d4508a3c6a8a5bd.php line 34

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* theme/default/component-forms/contact_form_template.html.twig */
  15. class __TwigTemplate_d8bb2641f8fd071db3276e9748c870c6 extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->parent = false;
  24. $this->blocks = [
  25. ];
  26. }
  27. protected function doDisplay(array $context, array $blocks = [])
  28. {
  29. $macros = $this->macros;
  30. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/component-forms/contact_form_template.html.twig"));
  32. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/component-forms/contact_form_template.html.twig"));
  34. // line 1
  35. $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();
  36. // line 2
  37. yield "
  38. <div class=\"contact_form\">
  39. \t<div
  40. \t\tclass=\"container-fluid content-wrapper\">
  41. \t\t";
  42. // line 23
  43. yield "\t\t";
  44. $context["espace_client"] = 1;
  45. // line 24
  46. yield "
  47. \t\t<div class=\"row justify-content-center padding-top padding-bottom\">
  48. \t\t\t<div
  49. \t\t\t\tclass=\"col-lg-6\">
  50. \t\t\t\t";
  51. // line 33
  52. yield "
  53. \t\t\t\t";
  54. // line 35
  55. 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)) {
  56. // line 36
  57. yield "\t\t\t\t\t<div class=\"bloc-items-contact\">
  58. \t\t\t\t\t\t<div class=\"row\">
  59. \t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
  60. \t\t\t\t\t\t\t\t";
  61. // line 39
  62. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::displayContactsList"));
  63. yield "
  64. \t\t\t\t\t\t\t</div>
  65. \t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
  66. \t\t\t\t\t\t\t\t";
  67. // line 42
  68. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::displayContactHoursPage"));
  69. yield "
  70. \t\t\t\t\t\t\t</div>
  71. \t\t\t\t\t\t</div>
  72. \t\t\t\t\t</div>
  73. \t\t\t\t";
  74. }
  75. // line 48
  76. yield "\t\t\t</div>
  77. \t\t\t";
  78. // line 51
  79. 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)) {
  80. // line 52
  81. yield "\t\t\t\t<div class=\"col-lg-6\">
  82. \t\t\t\t\t<form id=\"form-widget-";
  83. // line 53
  84. 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);
  85. yield "\" class=\"form-widget\" novalidate=\"novalidate\" enctype=\"multipart/form-data\" method=\"post\" action=\"";
  86. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("submit_request");
  87. yield "\" data-status=\"init\">
  88. \t\t\t\t\t\t<div class=\"row\">
  89. \t\t\t\t\t\t\t";
  90. // line 55
  91. $context["message"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("validation_form", [], "variable");
  92. // line 56
  93. yield "\t\t\t\t\t\t\t";
  94. $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);
  95. // line 57
  96. yield "\t\t\t\t\t\t\t";
  97. $context['_parent'] = $context;
  98. $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); })()));
  99. foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  100. // line 58
  101. yield "\t\t\t\t\t\t\t\t";
  102. $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));
  103. // line 59
  104. yield "\t\t\t\t\t\t\t\t";
  105. $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));
  106. // line 60
  107. yield "\t\t\t\t\t\t\t\t";
  108. $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), "")) : (""));
  109. // line 61
  110. yield "\t\t\t\t\t\t\t\t";
  111. $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), "")) : (""));
  112. // line 62
  113. yield "\t\t\t\t\t\t\t\t";
  114. $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), "")) : (""));
  115. // line 63
  116. yield "\t\t\t\t\t\t\t\t";
  117. $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), "")) : (""));
  118. // line 64
  119. yield "\t\t\t\t\t\t\t\t";
  120. $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));
  121. // line 65
  122. yield "\t\t\t\t\t\t\t\t";
  123. $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") : (""));
  124. // line 66
  125. yield "\t\t\t\t\t\t\t\t";
  126. $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));
  127. // line 67
  128. yield "\t\t\t\t\t\t\t\t";
  129. $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); })())));
  130. // line 68
  131. yield "
  132. \t\t\t\t\t\t\t\t<div class=\"";
  133. // line 69
  134. 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);
  135. yield "\">
  136. \t\t\t\t\t\t\t\t\t";
  137. // line 70
  138. if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 70) == "header")) {
  139. // line 71
  140. yield "\t\t\t\t\t\t\t\t\t\t";
  141. 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());
  142. yield "
  143. \t\t\t\t\t\t\t\t\t";
  144. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 72
  145. $context["item"], "type", [], "any", false, false, false, 72) == "paragraph")) {
  146. // line 73
  147. yield "\t\t\t\t\t\t\t\t\t\t";
  148. 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());
  149. yield "
  150. \t\t\t\t\t\t\t\t\t";
  151. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 74
  152. $context["item"], "type", [], "any", false, false, false, 74) == "button")) {
  153. // line 75
  154. yield "\t\t\t\t\t\t\t\t\t\t";
  155. 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());
  156. yield "
  157. \t\t\t\t\t\t\t\t\t";
  158. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 76
  159. $context["item"], "type", [], "any", false, false, false, 76) == "select")) {
  160. // line 77
  161. yield "\t\t\t\t\t\t\t\t\t\t";
  162. 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());
  163. yield "
  164. \t\t\t\t\t\t\t\t\t";
  165. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 78
  166. $context["item"], "type", [], "any", false, false, false, 78) == "textarea")) {
  167. // line 79
  168. yield "\t\t\t\t\t\t\t\t\t\t";
  169. 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());
  170. yield "
  171. \t\t\t\t\t\t\t\t\t";
  172. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 80
  173. $context["item"], "type", [], "any", false, false, false, 80) == "checkbox-group")) {
  174. // line 81
  175. yield "\t\t\t\t\t\t\t\t\t\t";
  176. 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());
  177. yield "
  178. \t\t\t\t\t\t\t\t\t";
  179. } elseif (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, // line 83
  180. $context["item"], "type", [], "any", false, false, false, 83), ["number", "text", "file", "hidden"])) {
  181. // line 84
  182. yield "\t\t\t\t\t\t\t\t\t\t";
  183. 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());
  184. yield "
  185. \t\t\t\t\t\t\t\t\t";
  186. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 85
  187. $context["item"], "type", [], "any", false, false, false, 85) == "date")) {
  188. // line 86
  189. yield "\t\t\t\t\t\t\t\t\t\t";
  190. 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());
  191. yield "
  192. \t\t\t\t\t\t\t\t\t";
  193. }
  194. // line 88
  195. yield "\t\t\t\t\t\t\t\t</div>
  196. \t\t\t\t\t\t\t";
  197. }
  198. $_parent = $context['_parent'];
  199. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  200. $context = array_intersect_key($context, $_parent) + $_parent;
  201. // line 90
  202. yield "
  203. \t\t\t\t\t\t\t<input type=\"hidden\" name=\"token_id\" value=\"";
  204. // line 91
  205. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("form_handler"), "html", null, true);
  206. yield "\">
  207. \t\t\t\t\t\t</div>
  208. \t\t\t\t\t</form>
  209. \t\t\t\t</div>
  210. \t\t\t";
  211. }
  212. // line 96
  213. yield "\t\t</div>
  214. \t</div>
  215. </div>
  216. ";
  217. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  218. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  219. return; yield '';
  220. }
  221. /**
  222. * @codeCoverageIgnore
  223. */
  224. public function getTemplateName()
  225. {
  226. return "theme/default/component-forms/contact_form_template.html.twig";
  227. }
  228. /**
  229. * @codeCoverageIgnore
  230. */
  231. public function isTraitable()
  232. {
  233. return false;
  234. }
  235. /**
  236. * @codeCoverageIgnore
  237. */
  238. public function getDebugInfo()
  239. {
  240. 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,);
  241. }
  242. public function getSourceContext()
  243. {
  244. return new Source("{% import \"theme/\"~ app.request.server.get('APP_THEME') ~\"/component-forms/_macro_form.html.twig\" as forms %}
  245. <div class=\"contact_form\">
  246. \t<div
  247. \t\tclass=\"container-fluid content-wrapper\">
  248. \t\t{#
  249. \t\t\t\t\t\t{% if bloc.form %}
  250. \t\t\t\t\t\t\t{% if bloc.form.name != '' %}
  251. \t\t\t\t\t\t\t\t<div class=\"titre-content-contact\">
  252. \t\t\t\t\t\t\t\t\t<h2 class=\"title-2 text-start\">{{bloc.form.name|raw }}</h2>
  253. \t\t\t\t\t\t\t\t</div>
  254. \t\t\t\t\t\t\t{% endif %}
  255. \t\t\t\t
  256. \t\t\t\t\t\t\t{% if bloc.form.text_name != '' %}
  257. \t\t\t\t\t\t\t\t<div class=\"text-content-contact\">
  258. \t\t\t\t\t\t\t\t\t<p class=\"text-start\">{{bloc.form.text_name|raw}}</p>
  259. \t\t\t\t\t\t\t\t</div>
  260. \t\t\t\t\t\t\t{% endif %}
  261. \t\t\t\t\t\t{% endif %}
  262. \t\t\t\t
  263. \t\t\t\t#}
  264. \t\t{% set espace_client = 1 %}
  265. \t\t<div class=\"row justify-content-center padding-top padding-bottom\">
  266. \t\t\t<div
  267. \t\t\t\tclass=\"col-lg-6\">
  268. \t\t\t\t{#
  269. \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')) }}
  270. \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
  271. \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 #}
  272. \t\t\t\t{% if bloc.param_contact.actifCoordonnees == 1 %}
  273. \t\t\t\t\t<div class=\"bloc-items-contact\">
  274. \t\t\t\t\t\t<div class=\"row\">
  275. \t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
  276. \t\t\t\t\t\t\t\t{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactsList')) }}
  277. \t\t\t\t\t\t\t</div>
  278. \t\t\t\t\t\t\t<div class=\"col-lg-12 col-12\">
  279. \t\t\t\t\t\t\t\t{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::displayContactHoursPage')) }}
  280. \t\t\t\t\t\t\t</div>
  281. \t\t\t\t\t\t</div>
  282. \t\t\t\t\t</div>
  283. \t\t\t\t{% endif %}
  284. \t\t\t</div>
  285. \t\t\t{% if bloc.form %}
  286. \t\t\t\t<div class=\"col-lg-6\">
  287. \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\">
  288. \t\t\t\t\t\t<div class=\"row\">
  289. \t\t\t\t\t\t\t{% set message = 'validation_form'|trans([],'variable') %}
  290. \t\t\t\t\t\t\t{% set dataForm = bloc.form.data['page-1'] %}
  291. \t\t\t\t\t\t\t{% for item in dataForm %}
  292. \t\t\t\t\t\t\t\t{% set label = item.label|default(null) %}
  293. \t\t\t\t\t\t\t\t{% set type = item.type|default(null) %}
  294. \t\t\t\t\t\t\t\t{% set name = item.name|default('') %}
  295. \t\t\t\t\t\t\t\t{% set className = item.className|default('') %}
  296. \t\t\t\t\t\t\t\t{% set placeholder = item.placeholder|default('') %}
  297. \t\t\t\t\t\t\t\t{% set customClass = item.customClass|default('') %}
  298. \t\t\t\t\t\t\t\t{% set maxlength = item.maxlength|default(null) %}
  299. \t\t\t\t\t\t\t\t{% set required = item.required is defined and item.required == 'true' ? 'required' : '' %}
  300. \t\t\t\t\t\t\t\t{% set multiple = item.multiple is defined and item.multiple == true ? true : false %}
  301. \t\t\t\t\t\t\t\t{% set errorMessage = item.ErrorMessage|default(message) %}
  302. \t\t\t\t\t\t\t\t<div class=\"{{ customClass }}\">
  303. \t\t\t\t\t\t\t\t\t{% if item.type == \"header\" %}
  304. \t\t\t\t\t\t\t\t\t\t{{ forms.header(item.subtype, label) }}
  305. \t\t\t\t\t\t\t\t\t{% elseif item.type == \"paragraph\" %}
  306. \t\t\t\t\t\t\t\t\t\t{{ forms.header(item.subtype, label) }}
  307. \t\t\t\t\t\t\t\t\t{% elseif item.type == \"button\" %}
  308. \t\t\t\t\t\t\t\t\t\t{{ forms.button(name,item.subtype,className,label) }}
  309. \t\t\t\t\t\t\t\t\t{% elseif item.type == \"select\" %}
  310. \t\t\t\t\t\t\t\t\t\t{{ forms.select(name, className,required, item.multiple,item.values,label,placeholder,errorMessage) }}
  311. \t\t\t\t\t\t\t\t\t{% elseif item.type == \"textarea\" %}
  312. \t\t\t\t\t\t\t\t\t\t{{ forms.textarea(name, className,required, label, placeholder, item.rows|default(6),errorMessage) }}
  313. \t\t\t\t\t\t\t\t\t{% elseif item.type == \"checkbox-group\" %}
  314. \t\t\t\t\t\t\t\t\t\t{{ forms.checkbox(name, item.values, required,errorMessage, label) }}
  315. \t\t\t\t\t\t\t\t\t{% elseif item.type in ['number', 'text', 'file','hidden'] %}
  316. \t\t\t\t\t\t\t\t\t\t{{ forms.input(name, type,className,required,label,placeholder,maxlength,errorMessage,multiple) }}
  317. \t\t\t\t\t\t\t\t\t{% elseif item.type == 'date' %}
  318. \t\t\t\t\t\t\t\t\t\t{{ forms.inputDate(name,type,item.subtype|default('date'),className,required,label,placeholder,maxlength,errorMessage) }}
  319. \t\t\t\t\t\t\t\t\t{% endif %}
  320. \t\t\t\t\t\t\t\t</div>
  321. \t\t\t\t\t\t\t{% endfor %}
  322. \t\t\t\t\t\t\t<input type=\"hidden\" name=\"token_id\" value=\"{{ csrf_token('form_handler') }}\">
  323. \t\t\t\t\t\t</div>
  324. \t\t\t\t\t</form>
  325. \t\t\t\t</div>
  326. \t\t\t{% endif %}
  327. \t\t</div>
  328. \t</div>
  329. </div>
  330. ", "theme/default/component-forms/contact_form_template.html.twig", "/home/sc5kala4210/agence.lebureaudessites.fr/templates/theme/default/component-forms/contact_form_template.html.twig");
  331. }
  332. }