<?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;
/* default/contact.html.twig */
class __TwigTemplate_3daea07b7efe831e80bc28280f7b17e8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
];
}
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", "default/contact.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/contact.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "default/contact.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 2
public function block_header($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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 3
echo " ";
$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"))]));
// line 9
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 11
echo " <div class=\"contact-content\">
<div class=\"container\">
<h3>Contactez-Nous</h3>
<p>NOUS SOMME A VOTRE ÉCOUTE</p>
<div class=\"row\">
<div class=\"col-md-6 col-md-offset-3\">
";
// line 17
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');
echo "
";
// line 18
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');
echo "
<label for=\"your_name\">Nom</label>
";
// 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); })()), "name", [], "any", false, false, false, 20), 'widget', ["attr" => ["class" => "input-form", "placeholder" => "Votre nom"]]);
echo "
<label for=\"your_email\">E-mail</label>
";
// line 22
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", false, false, false, 22), 'widget', ["attr" => ["class" => "input-form", "placeholder" => "Votre e-mail"]]);
echo "
<label for=\"your_email\">Téléphone </label>
";
// line 24
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", false, false, false, 24), 'widget', ["attr" => ["class" => "input-form", "placeholder" => "Votre téléphone"]]);
echo "
<label for=\"your_message\">Message</label>
";
// 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); })()), "docs", [], "any", false, false, false, 26), 'widget', ["attr" => ["class" => "textarea-form", "placeholder" => "Votre message"]]);
echo "
<button class=\"submit-btn\" type=\"submit\">Envoyer</button>
";
// line 28
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');
echo "
";
// line 29
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');
echo "
<div class=\"form-note\"></div>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "default/contact.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block header %}
{% include 'widget/header_meta.html.twig' with {
'title': 'Smart-Focus - Contactez-nous',
'description': 'Smart-Focus, CONTACTEZ-NOUS NOUS SOMME A VOTRE ÉCOUTE',
'image': absolute_url(asset('images/logo_hor.png')),
'url': absolute_url(path('hs_public_contact'))
} %}
{% endblock %}
{% block content %}
<div class=\"contact-content\">
<div class=\"container\">
<h3>Contactez-Nous</h3>
<p>NOUS SOMME A VOTRE ÉCOUTE</p>
<div class=\"row\">
<div class=\"col-md-6 col-md-offset-3\">
{{ form_start(form) }}
{{ form_errors(form) }}
<label for=\"your_name\">Nom</label>
{{ form_widget(form.name, {'attr': {'class': 'input-form', 'placeholder': 'Votre nom'}}) }}
<label for=\"your_email\">E-mail</label>
{{ form_widget(form.email, {'attr': {'class': 'input-form', 'placeholder': 'Votre e-mail'}}) }}
<label for=\"your_email\">Téléphone </label>
{{ form_widget(form.phone, {'attr': {'class': 'input-form', 'placeholder': 'Votre téléphone'}}) }}
<label for=\"your_message\">Message</label>
{{ form_widget(form.docs, {'attr': {'class': 'textarea-form', 'placeholder': 'Votre message'}}) }}
<button class=\"submit-btn\" type=\"submit\">Envoyer</button>
{{ form_rest(form) }}
{{ form_end(form) }}
<div class=\"form-note\"></div>
</div>
</div>
</div>
</div>
{% endblock %}", "default/contact.html.twig", "/home/u102745986/domains/smartfocus.ma/public_html/templates/default/contact.html.twig");
}
}