<?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;
/* homecontact.html.twig */
class __TwigTemplate_0a08865474afed513bfc808d8a36f244 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'headersection' => [$this, 'block_headersection'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homecontact.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homecontact.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "homecontact.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "- Contact";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_headersection($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headersection"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headersection"));
// line 7
echo "<div class=\"fixed-top\">
";
// line 8
echo twig_include($this->env, $context, "flashmessages/flashmessages.html.twig");
echo "
</div>
<main >
<section class=\"section section-md section-image overlay-dark\" data-background=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/cards-3662554_1920.jpg"), "html", null, true);
echo " \" style=\"min-height: 70vh;\">
<div class=\"container\">
<div class=\"row mt-4 mt-lg-6 justify-content-center\">
<div class=\"col-md-10 col-lg-10\">
<!-- Contact Card -->
<div class=\"card shadow-sm border-light p-2 p-md-3 p-lg-5\" >
<div class=\"card-header\">
<h4>Une question ou une demande?</h4>
<p>Cool ! Faites-le nous savoir et nous vous répondrons dans les plus brefs délais.</p>
</div>
";
// line 21
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formcontact"]) || array_key_exists("formcontact", $context) ? $context["formcontact"] : (function () { throw new RuntimeError('Variable "formcontact" does not exist.', 21, $this->source); })()), 'form_start');
echo "
<div class=\"card-body pt-0\">
<div class=\"form-group\">
";
// line 24
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formcontact"]) || array_key_exists("formcontact", $context) ? $context["formcontact"] : (function () { throw new RuntimeError('Variable "formcontact" does not exist.', 24, $this->source); })()), "name", [], "any", false, false, false, 24), 'widget');
echo "
</div>
<div class=\"form-group\">
";
// line 27
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formcontact"]) || array_key_exists("formcontact", $context) ? $context["formcontact"] : (function () { throw new RuntimeError('Variable "formcontact" does not exist.', 27, $this->source); })()), "email", [], "any", false, false, false, 27), 'widget');
echo "
</div>
";
// line 29
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formcontact"]) || array_key_exists("formcontact", $context) ? $context["formcontact"] : (function () { throw new RuntimeError('Variable "formcontact" does not exist.', 29, $this->source); })()), "message", [], "any", false, false, false, 29), 'widget');
echo "
</div>
<div class=\"card-footer mx-4 px-0 pt-0\">
";
// line 32
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formcontact"]) || array_key_exists("formcontact", $context) ? $context["formcontact"] : (function () { throw new RuntimeError('Variable "formcontact" does not exist.', 32, $this->source); })()), "recaptchatoken", [], "any", false, false, false, 32), 'widget');
echo "
";
// line 33
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formcontact"]) || array_key_exists("formcontact", $context) ? $context["formcontact"] : (function () { throw new RuntimeError('Variable "formcontact" does not exist.', 33, $this->source); })()), "btnsubmit", [], "any", false, false, false, 33), 'widget');
echo "
</div>
";
// line 35
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formcontact"]) || array_key_exists("formcontact", $context) ? $context["formcontact"] : (function () { throw new RuntimeError('Variable "formcontact" does not exist.', 35, $this->source); })()), 'form_end');
echo "
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Recaptcha -->
<script src=\"https://www.google.com/recaptcha/api.js?render=6Le2aesUAAAAAG4fDNIF_lqShoh6-PvS2lHexW2K\"></script>
<script src=\"";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/js/recaptcha.js"), "html", null, true);
echo "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "homecontact.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 154 => 44, 142 => 35, 137 => 33, 133 => 32, 127 => 29, 122 => 27, 116 => 24, 110 => 21, 97 => 11, 91 => 8, 88 => 7, 78 => 6, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}- Contact{% endblock %}
{% block headersection %}
<div class=\"fixed-top\">
{{ include('flashmessages/flashmessages.html.twig') }}
</div>
<main >
<section class=\"section section-md section-image overlay-dark\" data-background=\"{{ asset('assets/img/cards-3662554_1920.jpg') }} \" style=\"min-height: 70vh;\">
<div class=\"container\">
<div class=\"row mt-4 mt-lg-6 justify-content-center\">
<div class=\"col-md-10 col-lg-10\">
<!-- Contact Card -->
<div class=\"card shadow-sm border-light p-2 p-md-3 p-lg-5\" >
<div class=\"card-header\">
<h4>Une question ou une demande?</h4>
<p>Cool ! Faites-le nous savoir et nous vous répondrons dans les plus brefs délais.</p>
</div>
{{form_start(formcontact)}}
<div class=\"card-body pt-0\">
<div class=\"form-group\">
{{form_widget(formcontact.name)}}
</div>
<div class=\"form-group\">
{{form_widget(formcontact.email)}}
</div>
{{form_widget(formcontact.message)}}
</div>
<div class=\"card-footer mx-4 px-0 pt-0\">
{{form_widget(formcontact.recaptchatoken)}}
{{form_widget(formcontact.btnsubmit)}}
</div>
{{form_end(formcontact)}}
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Recaptcha -->
<script src=\"https://www.google.com/recaptcha/api.js?render=6Le2aesUAAAAAG4fDNIF_lqShoh6-PvS2lHexW2K\"></script>
<script src=\"{{ asset('/assets/js/recaptcha.js') }}\"></script>
{%endblock%}
", "homecontact.html.twig", "/home/maixmebouz/www/dev/bridgefestival/templates/homecontact.html.twig");
}
}