<?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;
/* diagnostique_gratuit.html.twig */
class __TwigTemplate_7bbce01e2efac1a02a99ad67f8cd535f17b652aa1ecc0d31f3f52fe31cc054f3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "diagnostique_gratuit.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "diagnostique_gratuit.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "diagnostique_gratuit.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo " <div id=\"box-search\">
<div class=\"thumbnail\">
<img src=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/bandeau-05-2023.jpg"), "html", null, true);
echo "\" alt=\"Responsive image\" class=\"img-fluid\">
";
// line 12
echo " </div>
</div>
<div class=\"container-fluid mt-4\">
";
// line 15
$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.', 15, $this->source); })()), "flashes", [0 => "success"], "method", false, false, false, 15));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 16
echo " <div class=\"alert alert-success\">
";
// line 17
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo " ";
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');
echo "
<div class=\"my-custom-class-for-errors\">
";
// line 22
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');
echo "
</div>
<div class=\"row\">
<div class=\"title form-group col-md-12\">
<p>Demandez votre visite technique gratuite</p>
</div>
<div class=\"col-md-12 mb-4\" style=\"color: #6A4A34; font-size: large\">
Remplissez ce formulaire pour être contacté par un conseiller Evo-Logis
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
";
// line 33
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", false, false, false, 33), 'row');
echo "
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
";
// line 38
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", false, false, false, 38), 'row');
echo "
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
";
// line 43
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", false, false, false, 43), 'row');
echo "
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
";
// line 48
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", false, false, false, 48), 'row');
echo "
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
";
// line 53
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", false, false, false, 53), 'row');
echo "
</div>
</div>
<div class=\"col-md-6\">
";
// line 57
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", false, false, false, 57), 'row');
echo "
</div>
</div>
";
// line 60
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');
echo "
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 64
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 65
echo " ";
$this->displayParentBlock("footer", $context, $blocks);
echo "
<script src=\"";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/diagnostique.js"), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "diagnostique_gratuit.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.html.twig' %}
{% block content %}
<div id=\"box-search\">
<div class=\"thumbnail\">
<img src=\"{{ asset('assets/img/bandeau-05-2023.jpg') }}\" alt=\"Responsive image\" class=\"img-fluid\">
{# <div class=\"btn-bandeau\">
<a type=\"submit\" class=\"btn btn-primary btn-lg btn-accueil\" href=\"{{ path('diagnostique_gratuit') }}\">Demandez
votre
diagnostique gratuit</a>
</div> #}
</div>
</div>
<div class=\"container-fluid mt-4\">
{% for message in app.flashes('success') %}
<div class=\"alert alert-success\">
{{ message }}
</div>
{% endfor %}
{{ form_start(form) }}
<div class=\"my-custom-class-for-errors\">
{{ form_errors(form) }}
</div>
<div class=\"row\">
<div class=\"title form-group col-md-12\">
<p>Demandez votre visite technique gratuite</p>
</div>
<div class=\"col-md-12 mb-4\" style=\"color: #6A4A34; font-size: large\">
Remplissez ce formulaire pour être contacté par un conseiller Evo-Logis
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
{{ form_row(form.nom) }}
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
{{ form_row(form.prenom) }}
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
{{ form_row(form.tel) }}
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
{{ form_row(form.ville) }}
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group col-md-12 col-sm-12\">
{{ form_row(form.projet) }}
</div>
</div>
<div class=\"col-md-6\">
{{ form_row(form.comments) }}
</div>
</div>
{{ form_end(form) }}
</div>
{% endblock %}
{% block footer %}
{{ parent() }}
<script src=\"{{ asset('assets/js/diagnostique.js') }}\"></script>
{% endblock %}
", "diagnostique_gratuit.html.twig", "/flex/storage/evo-logis.fr/site/www/templates/diagnostique_gratuit.html.twig");
}
}