var/cache/dev/twig/5b/5b37e1d2f8a68a55c8826c9cf068442a50385936fc689b498aca91718bdf82d5.php line 83

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* diagnostique_gratuit.html.twig */
  14. class __TwigTemplate_7bbce01e2efac1a02a99ad67f8cd535f17b652aa1ecc0d31f3f52fe31cc054f3 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.             'footer' => [$this'block_footer'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""diagnostique_gratuit.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""diagnostique_gratuit.html.twig"));
  39.         $this->parent $this->loadTemplate("layout.html.twig""diagnostique_gratuit.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 4
  55.         echo "    <div id=\"box-search\">
  56.         <div class=\"thumbnail\">
  57.             <img src=\"";
  58.         // line 6
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/bandeau-05-2023.jpg"), "html"nulltrue);
  60.         echo "\" alt=\"Responsive image\" class=\"img-fluid\">
  61.             ";
  62.         // line 12
  63.         echo "        </div>
  64.     </div>
  65.     <div class=\"container-fluid mt-4\">
  66.         ";
  67.         // line 15
  68.         $context['_parent'] = $context;
  69.         $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.'15$this->source); })()), "flashes", [=> "success"], "method"falsefalsefalse15));
  70.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  71.             // line 16
  72.             echo "            <div class=\"alert alert-success\">
  73.                 ";
  74.             // line 17
  75.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  76.             echo "
  77.             </div>
  78.         ";
  79.         }
  80.         $_parent $context['_parent'];
  81.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  82.         $context array_intersect_key($context$_parent) + $_parent;
  83.         // line 20
  84.         echo "        ";
  85.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'20$this->source); })()), 'form_start');
  86.         echo "
  87.         <div class=\"my-custom-class-for-errors\">
  88.             ";
  89.         // line 22
  90.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'22$this->source); })()), 'errors');
  91.         echo "
  92.         </div>
  93.         <div class=\"row\">
  94.             <div class=\"title form-group col-md-12\">
  95.                 <p>Demandez votre visite technique gratuite</p>
  96.             </div>
  97.             <div class=\"col-md-12 mb-4\" style=\"color: #6A4A34; font-size: large\">
  98.                 Remplissez ce formulaire pour être contacté par un conseiller Evo-Logis
  99.             </div>
  100.             <div class=\"col-md-6\">
  101.                 <div class=\"form-group col-md-12 col-sm-12\">
  102.                     ";
  103.         // line 33
  104.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'33$this->source); })()), "nom", [], "any"falsefalsefalse33), 'row');
  105.         echo "
  106.                 </div>
  107.             </div>
  108.             <div class=\"col-md-6\">
  109.                 <div class=\"form-group col-md-12 col-sm-12\">
  110.                     ";
  111.         // line 38
  112.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'38$this->source); })()), "prenom", [], "any"falsefalsefalse38), 'row');
  113.         echo "
  114.                 </div>
  115.             </div>
  116.             <div class=\"col-md-6\">
  117.                 <div class=\"form-group col-md-12 col-sm-12\">
  118.                     ";
  119.         // line 43
  120.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "tel", [], "any"falsefalsefalse43), 'row');
  121.         echo "
  122.                 </div>
  123.             </div>
  124.             <div class=\"col-md-6\">
  125.                 <div class=\"form-group col-md-12 col-sm-12\">
  126.                     ";
  127.         // line 48
  128.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'48$this->source); })()), "ville", [], "any"falsefalsefalse48), 'row');
  129.         echo "
  130.                 </div>
  131.             </div>
  132.             <div class=\"col-md-6\">
  133.                 <div class=\"form-group col-md-12 col-sm-12\">
  134.                     ";
  135.         // line 53
  136.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'53$this->source); })()), "projet", [], "any"falsefalsefalse53), 'row');
  137.         echo "
  138.                 </div>
  139.             </div>
  140.             <div class=\"col-md-6\">
  141.                 ";
  142.         // line 57
  143.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'57$this->source); })()), "comments", [], "any"falsefalsefalse57), 'row');
  144.         echo "
  145.             </div>
  146.         </div>
  147.         ";
  148.         // line 60
  149.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'60$this->source); })()), 'form_end');
  150.         echo "
  151.     </div>
  152. ";
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.         
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  157.     }
  158.     // line 64
  159.     public function block_footer($context, array $blocks = [])
  160.     {
  161.         $macros $this->macros;
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  166.         // line 65
  167.         echo "    ";
  168.         $this->displayParentBlock("footer"$context$blocks);
  169.         echo "
  170.     <script src=\"";
  171.         // line 66
  172.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/diagnostique.js"), "html"nulltrue);
  173.         echo "\"></script>
  174. ";
  175.         
  176.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  177.         
  178.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  179.     }
  180.     public function getTemplateName()
  181.     {
  182.         return "diagnostique_gratuit.html.twig";
  183.     }
  184.     public function isTraitable()
  185.     {
  186.         return false;
  187.     }
  188.     public function getDebugInfo()
  189.     {
  190.         return array (  191 => 66,  186 => 65,  176 => 64,  163 => 60,  157 => 57,  150 => 53,  142 => 48,  134 => 43,  126 => 38,  118 => 33,  104 => 22,  98 => 20,  89 => 17,  86 => 16,  82 => 15,  77 => 12,  73 => 6,  69 => 4,  59 => 3,  36 => 1,);
  191.     }
  192.     public function getSourceContext()
  193.     {
  194.         return new Source("{% extends 'layout.html.twig' %}
  195. {% block content %}
  196.     <div id=\"box-search\">
  197.         <div class=\"thumbnail\">
  198.             <img src=\"{{ asset('assets/img/bandeau-05-2023.jpg') }}\" alt=\"Responsive image\" class=\"img-fluid\">
  199.             {# <div class=\"btn-bandeau\">
  200.                 <a type=\"submit\" class=\"btn btn-primary btn-lg btn-accueil\" href=\"{{ path('diagnostique_gratuit') }}\">Demandez
  201.                     votre
  202.                     diagnostique gratuit</a>
  203.             </div> #}
  204.         </div>
  205.     </div>
  206.     <div class=\"container-fluid mt-4\">
  207.         {% for message in app.flashes('success') %}
  208.             <div class=\"alert alert-success\">
  209.                 {{ message }}
  210.             </div>
  211.         {% endfor %}
  212.         {{ form_start(form) }}
  213.         <div class=\"my-custom-class-for-errors\">
  214.             {{ form_errors(form) }}
  215.         </div>
  216.         <div class=\"row\">
  217.             <div class=\"title form-group col-md-12\">
  218.                 <p>Demandez votre visite technique gratuite</p>
  219.             </div>
  220.             <div class=\"col-md-12 mb-4\" style=\"color: #6A4A34; font-size: large\">
  221.                 Remplissez ce formulaire pour être contacté par un conseiller Evo-Logis
  222.             </div>
  223.             <div class=\"col-md-6\">
  224.                 <div class=\"form-group col-md-12 col-sm-12\">
  225.                     {{ form_row(form.nom) }}
  226.                 </div>
  227.             </div>
  228.             <div class=\"col-md-6\">
  229.                 <div class=\"form-group col-md-12 col-sm-12\">
  230.                     {{ form_row(form.prenom) }}
  231.                 </div>
  232.             </div>
  233.             <div class=\"col-md-6\">
  234.                 <div class=\"form-group col-md-12 col-sm-12\">
  235.                     {{ form_row(form.tel) }}
  236.                 </div>
  237.             </div>
  238.             <div class=\"col-md-6\">
  239.                 <div class=\"form-group col-md-12 col-sm-12\">
  240.                     {{ form_row(form.ville) }}
  241.                 </div>
  242.             </div>
  243.             <div class=\"col-md-6\">
  244.                 <div class=\"form-group col-md-12 col-sm-12\">
  245.                     {{ form_row(form.projet) }}
  246.                 </div>
  247.             </div>
  248.             <div class=\"col-md-6\">
  249.                 {{ form_row(form.comments) }}
  250.             </div>
  251.         </div>
  252.         {{ form_end(form) }}
  253.     </div>
  254. {% endblock %}
  255. {% block footer %}
  256.     {{ parent() }}
  257.     <script src=\"{{ asset('assets/js/diagnostique.js') }}\"></script>
  258. {% endblock %}
  259. ""diagnostique_gratuit.html.twig""/flex/storage/evo-logis.fr/site/www/templates/diagnostique_gratuit.html.twig");
  260.     }
  261. }