var/cache/dev/twig/72/72892203975dbc37f4451cd037022739.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. /* default/contact.html.twig */
  14. class __TwigTemplate_3daea07b7efe831e80bc28280f7b17e8 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.             'header' => [$this'block_header'],
  24.             'content' => [$this'block_content'],
  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""default/contact.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""default/contact.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""default/contact.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 2
  47.     public function block_header($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""header"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  54.         // line 3
  55.         echo "        ";
  56.         $this->loadTemplate("widget/header_meta.html.twig""default/contact.html.twig"3)->display(twig_array_merge($context, ["title" => "Smart-Focus - Contactez-nous""description" => "Smart-Focus, CONTACTEZ-NOUS NOUS SOMME A VOTRE ÉCOUTE""image" => $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo_hor.png")), "url" => $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("hs_public_contact"))]));
  57.         // line 9
  58.         echo "    ";
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 10
  65.     public function block_content($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  72.         // line 11
  73.         echo "    <div class=\"contact-content\">
  74.         <div class=\"container\">
  75.             <h3>Contactez-Nous</h3>
  76.             <p>NOUS SOMME A VOTRE ÉCOUTE</p>
  77.             <div class=\"row\">
  78.                 <div class=\"col-md-6 col-md-offset-3\">
  79.                     ";
  80.         // line 17
  81.         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.'17$this->source); })()), 'form_start');
  82.         echo "
  83.                     ";
  84.         // line 18
  85.         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.'18$this->source); })()), 'errors');
  86.         echo "
  87.                         <label for=\"your_name\">Nom</label>
  88.                         ";
  89.         // line 20
  90.         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); })()), "name", [], "any"falsefalsefalse20), 'widget', ["attr" => ["class" => "input-form""placeholder" => "Votre nom"]]);
  91.         echo "
  92.                         <label for=\"your_email\">E-mail</label>
  93.                         ";
  94.         // line 22
  95.         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.'22$this->source); })()), "email", [], "any"falsefalsefalse22), 'widget', ["attr" => ["class" => "input-form""placeholder" => "Votre e-mail"]]);
  96.         echo "
  97.                         <label for=\"your_email\">Téléphone </label>
  98.                         ";
  99.         // line 24
  100.         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.'24$this->source); })()), "phone", [], "any"falsefalsefalse24), 'widget', ["attr" => ["class" => "input-form""placeholder" => "Votre téléphone"]]);
  101.         echo "
  102.                         <label for=\"your_message\">Message</label>
  103.                         ";
  104.         // line 26
  105.         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); })()), "docs", [], "any"falsefalsefalse26), 'widget', ["attr" => ["class" => "textarea-form""placeholder" => "Votre message"]]);
  106.         echo "
  107.                         <button class=\"submit-btn\" type=\"submit\">Envoyer</button>
  108.                     ";
  109.         // line 28
  110.         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.'28$this->source); })()), 'rest');
  111.         echo "
  112.                     ";
  113.         // line 29
  114.         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.'29$this->source); })()), 'form_end');
  115.         echo "
  116.                     <div class=\"form-note\"></div>
  117.                 </div>
  118.             </div>
  119.         </div>
  120.     </div>
  121. ";
  122.         
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.     }
  127.     public function getTemplateName()
  128.     {
  129.         return "default/contact.html.twig";
  130.     }
  131.     public function isTraitable()
  132.     {
  133.         return false;
  134.     }
  135.     public function getDebugInfo()
  136.     {
  137.         return array (  133 => 29,  129 => 28,  124 => 26,  119 => 24,  114 => 22,  109 => 20,  104 => 18,  100 => 17,  92 => 11,  82 => 10,  72 => 9,  69 => 3,  59 => 2,  36 => 1,);
  138.     }
  139.     public function getSourceContext()
  140.     {
  141.         return new Source("{% extends 'base.html.twig' %}
  142.     {% block header %}
  143.         {% include 'widget/header_meta.html.twig' with {
  144.             'title': 'Smart-Focus - Contactez-nous',
  145.             'description': 'Smart-Focus, CONTACTEZ-NOUS NOUS SOMME A VOTRE ÉCOUTE',
  146.             'image': absolute_url(asset('images/logo_hor.png')),
  147.             'url': absolute_url(path('hs_public_contact'))
  148.         } %}
  149.     {% endblock %}
  150. {% block content %}
  151.     <div class=\"contact-content\">
  152.         <div class=\"container\">
  153.             <h3>Contactez-Nous</h3>
  154.             <p>NOUS SOMME A VOTRE ÉCOUTE</p>
  155.             <div class=\"row\">
  156.                 <div class=\"col-md-6 col-md-offset-3\">
  157.                     {{ form_start(form) }}
  158.                     {{ form_errors(form) }}
  159.                         <label for=\"your_name\">Nom</label>
  160.                         {{ form_widget(form.name, {'attr': {'class': 'input-form', 'placeholder': 'Votre nom'}}) }}
  161.                         <label for=\"your_email\">E-mail</label>
  162.                         {{ form_widget(form.email, {'attr': {'class': 'input-form', 'placeholder': 'Votre e-mail'}}) }}
  163.                         <label for=\"your_email\">Téléphone </label>
  164.                         {{ form_widget(form.phone, {'attr': {'class': 'input-form', 'placeholder': 'Votre téléphone'}}) }}
  165.                         <label for=\"your_message\">Message</label>
  166.                         {{ form_widget(form.docs, {'attr': {'class': 'textarea-form', 'placeholder': 'Votre message'}}) }}
  167.                         <button class=\"submit-btn\" type=\"submit\">Envoyer</button>
  168.                     {{ form_rest(form) }}
  169.                     {{ form_end(form) }}
  170.                     <div class=\"form-note\"></div>
  171.                 </div>
  172.             </div>
  173.         </div>
  174.     </div>
  175. {% endblock %}""default/contact.html.twig""/home/u102745986/domains/smartfocus.ma/public_html/templates/default/contact.html.twig");
  176.     }
  177. }