<?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;
/* page/contact.html.twig */
class __TwigTemplate_466d4beca466852b8d0ff4757e8d088ac90abdeb1b0ea9be1b488a3b926e4ba3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "page/contact.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "page/contact.html.twig"));
// line 1
echo "<section class=\"content\" id=\"contact\">
<div class=\"container\">
<h4 class=\"text-start mb-4 text-center\">CONTACT</h4>
<div class=\"row mb-5\">
<div class=\"col\">
<p class=\"bigTxt fw-bold text-center\">
Pour vous inscrire ou simplement <br>
échanger avec nous!
</p>
</div>
</div>
";
// line 12
$this->loadTemplate("components/partials/_flashcontainer.html.twig", "page/contact.html.twig", 12)->display($context);
// line 13
echo " <div class=\"container d-flex justify-content-center mt-5\">
<div class=\"col-10\">
";
// line 16
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.', 16, $this->source); })()), 'form_start');
echo "
<div class=\"row \">
<div class=\"col-5\">
<div class=\"row mb-4\">
";
// line 20
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.', 20, $this->source); })()), "email", [], "any", false, false, false, 20), 'row');
echo "
</div>
<div class=\"row mb-4\">
";
// line 23
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.', 23, $this->source); })()), "lastname", [], "any", false, false, false, 23), 'row');
echo "
</div>
<div class=\"row mb-4\">
";
// line 26
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.', 26, $this->source); })()), "firstname", [], "any", false, false, false, 26), 'row');
echo "
</div>
<div class=\"row mb-4\">
";
// line 29
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.', 29, $this->source); })()), "fonction", [], "any", false, false, false, 29), 'row');
echo "
</div>
</div>
<div class=\"col-7\">
";
// 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); })()), "content", [], "any", false, false, false, 33), 'row');
echo "
</div>
</div>
<div class=\"row justify-content-end\">
<div class=\"col-4 mb-4\">
";
// 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); })()), "captcha", [], "any", false, false, false, 38), 'row');
echo "
";
// line 39
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.', 39, $this->source); })()), "captcha", [], "any", false, false, false, 39), 'errors');
echo "
</div>
</div>
<div class=\"row justify-content-end\">
<div class=\"col-3\"><button type=\"submit\" class=\"btn btn-primary w100\"><i class=\"fa-regular fa-thumbs-up me-2\"></i> Envoyer</button></div>
</div>
";
// line 45
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.', 45, $this->source); })()), 'form_end');
echo "
</div>
</div>
<br>
<br>
<br>
</div>
</section>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "page/contact.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 116 => 45, 107 => 39, 103 => 38, 95 => 33, 88 => 29, 82 => 26, 76 => 23, 70 => 20, 63 => 16, 58 => 13, 56 => 12, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<section class=\"content\" id=\"contact\">
<div class=\"container\">
<h4 class=\"text-start mb-4 text-center\">CONTACT</h4>
<div class=\"row mb-5\">
<div class=\"col\">
<p class=\"bigTxt fw-bold text-center\">
Pour vous inscrire ou simplement <br>
échanger avec nous!
</p>
</div>
</div>
{% include \"components/partials/_flashcontainer.html.twig\" %}
<div class=\"container d-flex justify-content-center mt-5\">
<div class=\"col-10\">
{{ form_start(form) }}
<div class=\"row \">
<div class=\"col-5\">
<div class=\"row mb-4\">
{{ form_row(form.email) }}
</div>
<div class=\"row mb-4\">
{{ form_row(form.lastname) }}
</div>
<div class=\"row mb-4\">
{{ form_row(form.firstname) }}
</div>
<div class=\"row mb-4\">
{{ form_row(form.fonction) }}
</div>
</div>
<div class=\"col-7\">
{{ form_row(form.content) }}
</div>
</div>
<div class=\"row justify-content-end\">
<div class=\"col-4 mb-4\">
{{ form_row(form.captcha) }}
{{ form_errors(form.captcha) }}
</div>
</div>
<div class=\"row justify-content-end\">
<div class=\"col-3\"><button type=\"submit\" class=\"btn btn-primary w100\"><i class=\"fa-regular fa-thumbs-up me-2\"></i> Envoyer</button></div>
</div>
{{ form_end(form) }}
</div>
</div>
<br>
<br>
<br>
</div>
</section>", "page/contact.html.twig", "/home/loticaw/demo/templates/page/contact.html.twig");
}
}