var/cache/dev/twig/2f/2fa5b2c3abcb3449bca9875bbf60cf62.php line 43

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. use Twig\TemplateWrapper;
  15. /* contact/form.html.twig */
  16. class __TwigTemplate_40899a75a0ad1c440edb7d269d1713bb extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'body' => [$this'block_body'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""contact/form.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""contact/form.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""contact/form.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_body(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  61.         // line 4
  62.         yield "
  63.     <div id=\"contact-form\" class=\"container large-tile\">
  64.         <h1>Nous contacter</h1>
  65.         ";
  66.         // line 8
  67.         $context['_parent'] = $context;
  68.         $context['_seq'] = CoreExtension::ensureTraversable(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.'8$this->source); })()), "flashes", [], "any"falsefalsefalse8));
  69.         $context['_iterated'] = false;
  70.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  71.             // line 9
  72.             yield "
  73.             ";
  74.             // line 10
  75.             $context['_parent'] = $context;
  76.             $context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
  77.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  78.                 // line 11
  79.                 yield "                <p class=\"alert alert-";
  80.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["label"], "html"nulltrue);
  81.                 yield "\">
  82.                     ";
  83.                 // line 12
  84.                 yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html"nulltrue));
  85.                 yield "
  86.                 </p>
  87.             ";
  88.             }
  89.             $_parent $context['_parent'];
  90.             unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
  91.             $context array_intersect_key($context$_parent) + $_parent;
  92.             // line 15
  93.             yield "
  94.         ";
  95.             $context['_iterated'] = true;
  96.         }
  97.         // line 16
  98.         if (!$context['_iterated']) {
  99.             // line 17
  100.             yield "
  101.             <p>Vous pouvez nous envoyer un message à l'aide du formulaire ci-dessous.</p>
  102.             <p>Les informations marquées d'un astérisque (*) sont obligatoires.</p>
  103.             <form @submit=\"validate\" action=\"";
  104.             // line 21
  105.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact-action");
  106.             yield "\" class=\"box\" method=\"post\"
  107.                   enctype=\"multipart/form-data\">
  108.                 <div class=\"row\">
  109.                     <div class=\"col col-xl-6 col-lg-6 col-sm-12 col-12\">
  110.                         <div class=\"form-group\">
  111.                             <label for=\"name\" class=\"required\">Nom et prénom *&nbsp;:&nbsp;</label>
  112.                             <input type=\"text\" id=\"name\" name=\"name\"
  113.                                 ";
  114.             // line 29
  115.             if (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.'29$this->source); })()), "user", [], "any"falsefalsefalse29)) {
  116.                 // line 30
  117.                 yield "                                    value=\"";
  118.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "get", [], "method"falsetruefalse30), "getFullName", [], "any"truetruefalse30)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'30$this->source); })()), "get", [], "method"falsefalsefalse30), "getFullName", [], "any"falsefalsefalse30), "")) : ("")), "html"nulltrue);
  119.                 yield "\"
  120.                                 ";
  121.             } else {
  122.                 // line 32
  123.                 yield "                                    value=\"\"
  124.                                 ";
  125.             }
  126.             // line 34
  127.             yield "                                   required class=\"form-control\">
  128.                         </div>
  129.                         <div class=\"form-group\">
  130.                             <label for=\"customer_email\" class=\"required\">Votre adresse e-mail *&nbsp;:&nbsp;</label>
  131.                             <input type=\"email\" id=\"customer_email\" name=\"customer_email\"
  132.                                 ";
  133.             // line 39
  134.             if (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.'39$this->source); })()), "user", [], "any"falsefalsefalse39)) {
  135.                 // line 40
  136.                 yield "                                    value=\"";
  137.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "getAccountInfo", [], "method"falsetruefalse40), "getEmail", [], "any"truetruefalse40)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'40$this->source); })()), "getAccountInfo", [], "method"falsefalsefalse40), "getEmail", [], "any"falsefalsefalse40), "")) : ("")), "html"nulltrue);
  138.                 yield "\"
  139.                                 ";
  140.             } else {
  141.                 // line 42
  142.                 yield "                                    value=\"\"
  143.                                 ";
  144.             }
  145.             // line 44
  146.             yield "                                   pattern=\"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,}\$\"
  147.                                    required class=\"form-control\">
  148.                         </div>
  149.                         <div class=\"form-group\">
  150.                             <label for=\"phone\" class=\"required\">Téléphone *&nbsp;:&nbsp;</label>
  151.                             <input type=\"tel\" id=\"phone\" name=\"phone\"
  152.                                    pattern=\"^((\\+\\d{1,3}(-| )?\\(?\\d\\)?(-| )?\\d{1,5})|(\\(?\\d{2,6}\\)?))(-| )?(\\d{3,4})(-| )?(\\d{4})(( x| ext)\\d{1,5}){0,1}\$\"
  153.                                    minlength=\"10\"
  154.                                 ";
  155.             // line 52
  156.             if (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.'52$this->source); })()), "user", [], "any"falsefalsefalse52)) {
  157.                 // line 53
  158.                 yield "                                    value=\"";
  159.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "getAccountInfo", [], "method"falsetruefalse53), "getPhoneNumber", [], "any"truetruefalse53)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'53$this->source); })()), "getAccountInfo", [], "method"falsefalsefalse53), "getPhoneNumber", [], "any"falsefalsefalse53), "")) : ("")), "html"nulltrue);
  160.                 yield "\"
  161.                                 ";
  162.             } else {
  163.                 // line 55
  164.                 yield "                                    value=\"\"
  165.                                 ";
  166.             }
  167.             // line 57
  168.             yield "                                   required class=\"form-control\">
  169.                         </div>
  170.                         <div class=\"form-group\">
  171.                             <label for=\"reference\">Référence client&nbsp;:&nbsp;</label>
  172.                             <input type=\"text\" id=\"reference\" name=\"reference\"
  173.                                 ";
  174.             // line 62
  175.             if (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.'62$this->source); })()), "user", [], "any"falsefalsefalse62)) {
  176.                 // line 63
  177.                 yield "                                    value=\"";
  178.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "get", [], "method"falsetruefalse63), "getCliReference", [], "any"truetruefalse63)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'63$this->source); })()), "get", [], "method"falsefalsefalse63), "getCliReference", [], "any"falsefalsefalse63), "")) : ("")), "html"nulltrue);
  179.                 yield "\"
  180.                                 ";
  181.             } else {
  182.                 // line 65
  183.                 yield "                                    value=\"\"
  184.                                 ";
  185.             }
  186.             // line 67
  187.             yield "                                   class=\"form-control\">
  188.                         </div>
  189.                         <div class=\"form-group\">
  190.                             <label for=\"address\" class=\"required\">Adresse complète *&nbsp;:&nbsp;</label>
  191.                             <input type=\"text\" id=\"address\" name=\"address\" required
  192.                                     ";
  193.             // line 72
  194.             if (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.'72$this->source); })()), "user", [], "any"falsefalsefalse72)) {
  195.                 // line 73
  196.                 yield "                                        value=\"";
  197.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "getAddress", [], "method"falsetruefalse73), "getAdrNumero", [], "method"truetruefalse73)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'73$this->source); })()), "getAddress", [], "method"falsefalsefalse73), "getAdrNumero", [], "method"falsefalsefalse73), "")) : ("")), "html"nulltrue);
  198.                 yield " ";
  199.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "getAddress", [], "method"falsetruefalse73), "getRueNom", [], "method"truetruefalse73)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'73$this->source); })()), "getAddress", [], "method"falsefalsefalse73), "getRueNom", [], "method"falsefalsefalse73), "")) : ("")), "html"nulltrue);
  200.                 yield " ";
  201.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "getAddress", [], "method"falsetruefalse73), "getAdrComplementrue", [], "method"truetruefalse73)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'73$this->source); })()), "getAddress", [], "method"falsefalsefalse73), "getAdrComplementrue", [], "method"falsefalsefalse73), "")) : ("")), "html"nulltrue);
  202.                 yield "\"
  203.                                     ";
  204.             } else {
  205.                 // line 75
  206.                 yield "                                        value=\"\"
  207.                                     ";
  208.             }
  209.             // line 77
  210.             yield "                                   class=\"form-control\">
  211.                         </div>
  212.                         <div class=\"form-group\">
  213.                             <label for=\"commune\" class=\"required\">Commune *&nbsp;:&nbsp;</label>
  214.                             <input type=\"text\" id=\"commune\" name=\"commune\" required
  215.                                 ";
  216.             // line 82
  217.             if (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.'82$this->source); })()), "user", [], "any"falsefalsefalse82)) {
  218.                 // line 83
  219.                 yield "                                    value=\"";
  220.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["connectedCustomer"] ?? null), "getAddress", [], "method"falsetruefalse83), "getVilNom", [], "method"truetruefalse83)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["connectedCustomer"]) || array_key_exists("connectedCustomer"$context) ? $context["connectedCustomer"] : (function () { throw new RuntimeError('Variable "connectedCustomer" does not exist.'83$this->source); })()), "getAddress", [], "method"falsefalsefalse83), "getVilNom", [], "method"falsefalsefalse83), "")) : ("")), "html"nulltrue);
  221.                 yield "\"
  222.                                 ";
  223.             } else {
  224.                 // line 85
  225.                 yield "                                    value=\"\"
  226.                                 ";
  227.             }
  228.             // line 87
  229.             yield "                                   class=\"form-control\">
  230.                         </div>
  231.                     </div>
  232.                     <div class=\"col col-xl-6 col-lg-6 col-sm-12 col-12\">
  233.                         <div class=\"form-group\">
  234.                             <label for=\"subject\" class=\"required\">Objet de votre message *&nbsp;:&nbsp;</label>
  235.                             <input type=\"text\" id=\"subject\" name=\"subject\" value=\"\" required class=\"form-control\"/>
  236.                         </div>
  237.                         <div class=\"form-group\">
  238.                             <label for=\"message\" class=\"required\">Votre message *&nbsp;:&nbsp;</label>
  239.                             <textarea id=\"message\" name=\"message\" rows=\"10\" cols=\"30\" required
  240.                                       class=\"form-control\"></textarea>
  241.                         </div>
  242.                         <div class=\"form-group documents\">
  243.                             <label for=\"attachment\">Joindre des documents :</label>
  244.                             <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"2000000\">
  245.                             <p>
  246.                                 <label for=\"document1\">Document 1 : </label>
  247.                                 <input type=\"file\" id=\"document1\" name=\"document1\" value=\"\"/>
  248.                             </p>
  249.                             <p>
  250.                                 <label for=\"document2\">Document 2 : </label>
  251.                                 <input type=\"file\" id=\"document2\" name=\"document2\" value=\"\"/>
  252.                             </p>
  253.                             <p>
  254.                                 <small>
  255.                                     Attention, chaque fichier joint ne doit pas excéder un poids de 2 Mo.
  256.                                     <br/>
  257.                                     Seuls les fichiers PDF, DOC, DOCX, XLS, XLSX, JPG, PNG, ODT et ODS sont autorisés.
  258.                                 </small>
  259.                             </p>
  260.                         </div>
  261.                     </div>
  262.                 </div>
  263.                 <div v-if=\"errors.length\" class=\"alert alert-danger\">
  264.                     <p><strong>Certaines informations obligatoires sont manquantes : </strong></p>
  265.                     <p v-for=\"error in errors\">\${ error }</p>
  266.                 </div>
  267.                 <div class=\"widget widget-checkbox mandatory alert alert-info\">
  268.                     <p>
  269.                         Conformément à la loi « Informatique et Libertés » modifiée, vous bénéficiez d’un droit d’accès, de rectification, d’effacement ou de limitation du traitement. Vous pouvez également pour des motifs légitimes, vous opposer au traitement de vos données.<br>
  270.                         Pour exercer vos droits, vous pouvez contacter le Service Clients de la Direction de l’Eau et de l’Assainissement via votre compte sur le site internet de l’eau <a href=\"https://ec-eau.grandreims.fr\" target=\"_blank\" rel=\"noopener\">https://ec-eau.grandreims.fr</a> ou par courrier postal au Grand Reims Service Clients Eau - CS 80036 - 51722 REIMS CEDEX.<br>
  271.                         Vous avez également la possibilité de contacter notre délégué à la protection des données, pour toute information concernant vos données personnelles : <a href=\"mailto:dpo@grandreims.fr\" title=\"dpo@grandreims.fr\">dpo@grandreims.fr</a> ou d’introduire une réclamation auprès de la CNIL (<a href=\"https://www.cnil.fr\" title=\"www.cnil.fr\" target=\"_blank\" rel=\"noopener\">www.cnil.fr</a>).
  272.                     </p>
  273.                     <span>
  274.                         <input type=\"checkbox\" name=\"rgpd\" id=\"opt_rgpd\" class=\"checkbox\" value=\"oui\" required=\"\">
  275.                         <label id=\"rgpd\" for=\"opt_rgpd\">j’ai bien pris connaissance et j’accepte les conditions *</label>
  276.                     </span>
  277.                 </div>
  278.                 <p class=\"d-flex flex-row align-items-center justify-content-between\">
  279.                     <span class=\"alert alert-warning\">Vérifiez bien l'exactitude des informations fournies avant de valider ce formulaire.</span>
  280.                     <input type=\"submit\" name=\"valider\" value=\"envoyer mon message\" class=\"button btn-primary\">
  281.                 </p>
  282.             </form>
  283.         ";
  284.         }
  285.         $_parent $context['_parent'];
  286.         unset($context['_seq'], $context['label'], $context['messages'], $context['_parent'], $context['_iterated']);
  287.         $context array_intersect_key($context$_parent) + $_parent;
  288.         // line 147
  289.         yield "
  290.         <p>Vous pouvez également nous contacter ou nous rencontrer à l'adresse :</p>
  291.         <div class=\"box\">
  292.             <address>
  293.                 Hôtel de la Communauté
  294.                 <br>
  295.                 <a href=\"http://carto.ville-reims.fr/?/fr/_/lien/1/x/723687.04/y/174170.95/zoom/448.855/point/17124581643271500491/orthophoto/100\"
  296.                    class=\"map\"
  297.                    onclick=\"window.open(this.href,'', 'location=no,menubar=no,toolbar=no,width=800,height=600,resizable=yes');return false;\">
  298.                     3, Rue Eugène Desteuque
  299.                 </a>
  300.                 <br>CS 80036
  301.                 <br>51722 REIMS Cedex
  302.                 <br>Du lundi au vendredi de 08h30 à 12h00 et de 13h30 à 17h00
  303.             </address>
  304.         </div>
  305.     </div>
  306. ";
  307.         
  308.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  309.         
  310.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  311.         yield from [];
  312.     }
  313.     /**
  314.      * @codeCoverageIgnore
  315.      */
  316.     public function getTemplateName(): string
  317.     {
  318.         return "contact/form.html.twig";
  319.     }
  320.     /**
  321.      * @codeCoverageIgnore
  322.      */
  323.     public function isTraitable(): bool
  324.     {
  325.         return false;
  326.     }
  327.     /**
  328.      * @codeCoverageIgnore
  329.      */
  330.     public function getDebugInfo(): array
  331.     {
  332.         return array (  311 => 147,  246 => 87,  242 => 85,  236 => 83,  234 => 82,  227 => 77,  223 => 75,  213 => 73,  211 => 72,  204 => 67,  200 => 65,  194 => 63,  192 => 62,  185 => 57,  181 => 55,  175 => 53,  173 => 52,  163 => 44,  159 => 42,  153 => 40,  151 => 39,  144 => 34,  140 => 32,  134 => 30,  132 => 29,  121 => 21,  115 => 17,  113 => 16,  108 => 15,  99 => 12,  94 => 11,  90 => 10,  87 => 9,  82 => 8,  76 => 4,  63 => 3,  40 => 1,);
  333.     }
  334.     public function getSourceContext(): Source
  335.     {
  336.         return new Source("{% extends 'base.html.twig' %}
  337. {% block body %}
  338.     <div id=\"contact-form\" class=\"container large-tile\">
  339.         <h1>Nous contacter</h1>
  340.         {% for label, messages in app.flashes %}
  341.             {% for message in messages %}
  342.                 <p class=\"alert alert-{{ label }}\">
  343.                     {{ message | nl2br }}
  344.                 </p>
  345.             {% endfor %}
  346.         {% else %}
  347.             <p>Vous pouvez nous envoyer un message à l'aide du formulaire ci-dessous.</p>
  348.             <p>Les informations marquées d'un astérisque (*) sont obligatoires.</p>
  349.             <form @submit=\"validate\" action=\"{{ path('contact-action') }}\" class=\"box\" method=\"post\"
  350.                   enctype=\"multipart/form-data\">
  351.                 <div class=\"row\">
  352.                     <div class=\"col col-xl-6 col-lg-6 col-sm-12 col-12\">
  353.                         <div class=\"form-group\">
  354.                             <label for=\"name\" class=\"required\">Nom et prénom *&nbsp;:&nbsp;</label>
  355.                             <input type=\"text\" id=\"name\" name=\"name\"
  356.                                 {% if app.user %}
  357.                                     value=\"{{ connectedCustomer.get().getFullName | default('') }}\"
  358.                                 {% else %}
  359.                                     value=\"\"
  360.                                 {% endif %}
  361.                                    required class=\"form-control\">
  362.                         </div>
  363.                         <div class=\"form-group\">
  364.                             <label for=\"customer_email\" class=\"required\">Votre adresse e-mail *&nbsp;:&nbsp;</label>
  365.                             <input type=\"email\" id=\"customer_email\" name=\"customer_email\"
  366.                                 {% if app.user %}
  367.                                     value=\"{{ connectedCustomer.getAccountInfo().getEmail | default('') }}\"
  368.                                 {% else %}
  369.                                     value=\"\"
  370.                                 {% endif %}
  371.                                    pattern=\"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,}\$\"
  372.                                    required class=\"form-control\">
  373.                         </div>
  374.                         <div class=\"form-group\">
  375.                             <label for=\"phone\" class=\"required\">Téléphone *&nbsp;:&nbsp;</label>
  376.                             <input type=\"tel\" id=\"phone\" name=\"phone\"
  377.                                    pattern=\"^((\\+\\d{1,3}(-| )?\\(?\\d\\)?(-| )?\\d{1,5})|(\\(?\\d{2,6}\\)?))(-| )?(\\d{3,4})(-| )?(\\d{4})(( x| ext)\\d{1,5}){0,1}\$\"
  378.                                    minlength=\"10\"
  379.                                 {% if app.user %}
  380.                                     value=\"{{ connectedCustomer.getAccountInfo().getPhoneNumber | default('') }}\"
  381.                                 {% else %}
  382.                                     value=\"\"
  383.                                 {% endif %}
  384.                                    required class=\"form-control\">
  385.                         </div>
  386.                         <div class=\"form-group\">
  387.                             <label for=\"reference\">Référence client&nbsp;:&nbsp;</label>
  388.                             <input type=\"text\" id=\"reference\" name=\"reference\"
  389.                                 {% if app.user %}
  390.                                     value=\"{{ connectedCustomer.get().getCliReference | default('') }}\"
  391.                                 {% else %}
  392.                                     value=\"\"
  393.                                 {% endif %}
  394.                                    class=\"form-control\">
  395.                         </div>
  396.                         <div class=\"form-group\">
  397.                             <label for=\"address\" class=\"required\">Adresse complète *&nbsp;:&nbsp;</label>
  398.                             <input type=\"text\" id=\"address\" name=\"address\" required
  399.                                     {% if app.user %}
  400.                                         value=\"{{ connectedCustomer.getAddress().getAdrNumero() | default('') }} {{ connectedCustomer.getAddress().getRueNom() | default('') }} {{ connectedCustomer.getAddress().getAdrComplementrue() | default('') }}\"
  401.                                     {% else %}
  402.                                         value=\"\"
  403.                                     {% endif %}
  404.                                    class=\"form-control\">
  405.                         </div>
  406.                         <div class=\"form-group\">
  407.                             <label for=\"commune\" class=\"required\">Commune *&nbsp;:&nbsp;</label>
  408.                             <input type=\"text\" id=\"commune\" name=\"commune\" required
  409.                                 {% if app.user %}
  410.                                     value=\"{{ connectedCustomer.getAddress().getVilNom() | default('') }}\"
  411.                                 {% else %}
  412.                                     value=\"\"
  413.                                 {% endif %}
  414.                                    class=\"form-control\">
  415.                         </div>
  416.                     </div>
  417.                     <div class=\"col col-xl-6 col-lg-6 col-sm-12 col-12\">
  418.                         <div class=\"form-group\">
  419.                             <label for=\"subject\" class=\"required\">Objet de votre message *&nbsp;:&nbsp;</label>
  420.                             <input type=\"text\" id=\"subject\" name=\"subject\" value=\"\" required class=\"form-control\"/>
  421.                         </div>
  422.                         <div class=\"form-group\">
  423.                             <label for=\"message\" class=\"required\">Votre message *&nbsp;:&nbsp;</label>
  424.                             <textarea id=\"message\" name=\"message\" rows=\"10\" cols=\"30\" required
  425.                                       class=\"form-control\"></textarea>
  426.                         </div>
  427.                         <div class=\"form-group documents\">
  428.                             <label for=\"attachment\">Joindre des documents :</label>
  429.                             <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"2000000\">
  430.                             <p>
  431.                                 <label for=\"document1\">Document 1 : </label>
  432.                                 <input type=\"file\" id=\"document1\" name=\"document1\" value=\"\"/>
  433.                             </p>
  434.                             <p>
  435.                                 <label for=\"document2\">Document 2 : </label>
  436.                                 <input type=\"file\" id=\"document2\" name=\"document2\" value=\"\"/>
  437.                             </p>
  438.                             <p>
  439.                                 <small>
  440.                                     Attention, chaque fichier joint ne doit pas excéder un poids de 2 Mo.
  441.                                     <br/>
  442.                                     Seuls les fichiers PDF, DOC, DOCX, XLS, XLSX, JPG, PNG, ODT et ODS sont autorisés.
  443.                                 </small>
  444.                             </p>
  445.                         </div>
  446.                     </div>
  447.                 </div>
  448.                 <div v-if=\"errors.length\" class=\"alert alert-danger\">
  449.                     <p><strong>Certaines informations obligatoires sont manquantes : </strong></p>
  450.                     <p v-for=\"error in errors\">\${ error }</p>
  451.                 </div>
  452.                 <div class=\"widget widget-checkbox mandatory alert alert-info\">
  453.                     <p>
  454.                         Conformément à la loi « Informatique et Libertés » modifiée, vous bénéficiez d’un droit d’accès, de rectification, d’effacement ou de limitation du traitement. Vous pouvez également pour des motifs légitimes, vous opposer au traitement de vos données.<br>
  455.                         Pour exercer vos droits, vous pouvez contacter le Service Clients de la Direction de l’Eau et de l’Assainissement via votre compte sur le site internet de l’eau <a href=\"https://ec-eau.grandreims.fr\" target=\"_blank\" rel=\"noopener\">https://ec-eau.grandreims.fr</a> ou par courrier postal au Grand Reims Service Clients Eau - CS 80036 - 51722 REIMS CEDEX.<br>
  456.                         Vous avez également la possibilité de contacter notre délégué à la protection des données, pour toute information concernant vos données personnelles : <a href=\"mailto:dpo@grandreims.fr\" title=\"dpo@grandreims.fr\">dpo@grandreims.fr</a> ou d’introduire une réclamation auprès de la CNIL (<a href=\"https://www.cnil.fr\" title=\"www.cnil.fr\" target=\"_blank\" rel=\"noopener\">www.cnil.fr</a>).
  457.                     </p>
  458.                     <span>
  459.                         <input type=\"checkbox\" name=\"rgpd\" id=\"opt_rgpd\" class=\"checkbox\" value=\"oui\" required=\"\">
  460.                         <label id=\"rgpd\" for=\"opt_rgpd\">j’ai bien pris connaissance et j’accepte les conditions *</label>
  461.                     </span>
  462.                 </div>
  463.                 <p class=\"d-flex flex-row align-items-center justify-content-between\">
  464.                     <span class=\"alert alert-warning\">Vérifiez bien l'exactitude des informations fournies avant de valider ce formulaire.</span>
  465.                     <input type=\"submit\" name=\"valider\" value=\"envoyer mon message\" class=\"button btn-primary\">
  466.                 </p>
  467.             </form>
  468.         {% endfor %}
  469.         <p>Vous pouvez également nous contacter ou nous rencontrer à l'adresse :</p>
  470.         <div class=\"box\">
  471.             <address>
  472.                 Hôtel de la Communauté
  473.                 <br>
  474.                 <a href=\"http://carto.ville-reims.fr/?/fr/_/lien/1/x/723687.04/y/174170.95/zoom/448.855/point/17124581643271500491/orthophoto/100\"
  475.                    class=\"map\"
  476.                    onclick=\"window.open(this.href,'', 'location=no,menubar=no,toolbar=no,width=800,height=600,resizable=yes');return false;\">
  477.                     3, Rue Eugène Desteuque
  478.                 </a>
  479.                 <br>CS 80036
  480.                 <br>51722 REIMS Cedex
  481.                 <br>Du lundi au vendredi de 08h30 à 12h00 et de 13h30 à 17h00
  482.             </address>
  483.         </div>
  484.     </div>
  485. {% endblock %}""contact/form.html.twig""/var/www/reims.fr/extranet/current/templates/contact/form.html.twig");
  486.     }
  487. }