var/cache/dev/twig/69/6952735f5d0974564cdeaff959a17ed5.php line 49

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. /* homecontact.html.twig */
  14. class __TwigTemplate_0a08865474afed513bfc808d8a36f244 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.             'title' => [$this'block_title'],
  24.             'headersection' => [$this'block_headersection'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""homecontact.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""homecontact.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""homecontact.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "- Contact";
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 6
  61.     public function block_headersection($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headersection"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headersection"));
  68.         // line 7
  69.         echo "<div class=\"fixed-top\">
  70.     ";
  71.         // line 8
  72.         echo twig_include($this->env$context"flashmessages/flashmessages.html.twig");
  73.         echo "
  74. </div>
  75. <main >
  76.     <section class=\"section section-md section-image overlay-dark\" data-background=\"";
  77.         // line 11
  78.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/cards-3662554_1920.jpg"), "html"nulltrue);
  79.         echo " \" style=\"min-height: 70vh;\">
  80.         <div class=\"container\">
  81.             <div class=\"row mt-4 mt-lg-6 justify-content-center\">
  82.                 <div class=\"col-md-10 col-lg-10\">
  83.                     <!-- Contact Card -->
  84.                     <div class=\"card shadow-sm border-light p-2 p-md-3 p-lg-5\" >
  85.                         <div class=\"card-header\">
  86.                             <h4>Une question ou une demande?</h4>
  87.                             <p>Cool ! Faites-le nous savoir et nous vous répondrons dans les plus brefs délais.</p>
  88.                         </div>
  89.                         ";
  90.         // line 21
  91.         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');
  92.         echo "
  93.                         <div class=\"card-body pt-0\">
  94.                             <div class=\"form-group\">
  95.                                ";
  96.         // line 24
  97.         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"falsefalsefalse24), 'widget');
  98.         echo "
  99.                             </div>
  100.                             <div class=\"form-group\">
  101.                                ";
  102.         // line 27
  103.         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"falsefalsefalse27), 'widget');
  104.         echo "
  105.                             </div>
  106.                             ";
  107.         // line 29
  108.         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"falsefalsefalse29), 'widget');
  109.         echo "
  110.                         </div>
  111.                         <div class=\"card-footer mx-4 px-0 pt-0\">
  112.                           ";
  113.         // line 32
  114.         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"falsefalsefalse32), 'widget');
  115.         echo "
  116.                            ";
  117.         // line 33
  118.         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"falsefalsefalse33), 'widget');
  119.         echo "
  120.                         </div>
  121.                         ";
  122.         // line 35
  123.         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');
  124.         echo "
  125.                     </div>
  126.                 </div>
  127.             </div>
  128.         </div>
  129.     </section>
  130. </main>
  131. <!-- Recaptcha -->
  132. <script src=\"https://www.google.com/recaptcha/api.js?render=6Le2aesUAAAAAG4fDNIF_lqShoh6-PvS2lHexW2K\"></script>
  133. <script src=\"";
  134.         // line 44
  135.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/js/recaptcha.js"), "html"nulltrue);
  136.         echo "\"></script>
  137. ";
  138.         
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  140.         
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  142.     }
  143.     public function getTemplateName()
  144.     {
  145.         return "homecontact.html.twig";
  146.     }
  147.     public function isTraitable()
  148.     {
  149.         return false;
  150.     }
  151.     public function getDebugInfo()
  152.     {
  153.         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,);
  154.     }
  155.     public function getSourceContext()
  156.     {
  157.         return new Source("{% extends 'base.html.twig' %}
  158. {% block title %}- Contact{% endblock %}
  159. {% block headersection %}
  160. <div class=\"fixed-top\">
  161.     {{ include('flashmessages/flashmessages.html.twig') }}
  162. </div>
  163. <main >
  164.     <section class=\"section section-md section-image overlay-dark\" data-background=\"{{ asset('assets/img/cards-3662554_1920.jpg') }} \" style=\"min-height: 70vh;\">
  165.         <div class=\"container\">
  166.             <div class=\"row mt-4 mt-lg-6 justify-content-center\">
  167.                 <div class=\"col-md-10 col-lg-10\">
  168.                     <!-- Contact Card -->
  169.                     <div class=\"card shadow-sm border-light p-2 p-md-3 p-lg-5\" >
  170.                         <div class=\"card-header\">
  171.                             <h4>Une question ou une demande?</h4>
  172.                             <p>Cool ! Faites-le nous savoir et nous vous répondrons dans les plus brefs délais.</p>
  173.                         </div>
  174.                         {{form_start(formcontact)}}
  175.                         <div class=\"card-body pt-0\">
  176.                             <div class=\"form-group\">
  177.                                {{form_widget(formcontact.name)}}
  178.                             </div>
  179.                             <div class=\"form-group\">
  180.                                {{form_widget(formcontact.email)}}
  181.                             </div>
  182.                             {{form_widget(formcontact.message)}}
  183.                         </div>
  184.                         <div class=\"card-footer mx-4 px-0 pt-0\">
  185.                           {{form_widget(formcontact.recaptchatoken)}}
  186.                            {{form_widget(formcontact.btnsubmit)}}
  187.                         </div>
  188.                         {{form_end(formcontact)}}
  189.                     </div>
  190.                 </div>
  191.             </div>
  192.         </div>
  193.     </section>
  194. </main>
  195. <!-- Recaptcha -->
  196. <script src=\"https://www.google.com/recaptcha/api.js?render=6Le2aesUAAAAAG4fDNIF_lqShoh6-PvS2lHexW2K\"></script>
  197. <script src=\"{{ asset('/assets/js/recaptcha.js') }}\"></script>
  198. {%endblock%}
  199. ""homecontact.html.twig""/home/maixmebouz/www/dev/bridgefestival/templates/homecontact.html.twig");
  200.     }
  201. }