<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* main/ajouter_entreprise.html.twig */
class __TwigTemplate_18c8c41daae84fe2515b26595e8d92f1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "static.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", "main/ajouter_entreprise.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "main/ajouter_entreprise.html.twig"));
$this->parent = $this->loadTemplate("static.html.twig", "main/ajouter_entreprise.html.twig", 1);
yield from $this->parent->unwrap()->yield($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"));
yield "Hello MainController!";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
yield "
<section id=\"explore\" class=\"explore\">
\t\t\t<div class=\"container\">
<section id=\"breadcrumb\">
<div class=\"wrapper\">
<ol class=\"breadcrumb\" itemscope=\"\" itemtype=\"\">
<li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
<a itemscope=\"\" itemtype=\"\" itemprop=\"item\" itemid=\"\" href=\"./\">
<span itemprop=\"name\">Accueil</span>
</a>
<meta itemprop=\"position\" content=\"1\">
</li>
›
<li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
<span itemprop=\"name\">Appel d'offres</span>
<meta itemprop=\"position\" content=\"3\">
</li>
</ol>
</div>
</section>
<!-- div global -->
<div class=\"containner \">
<h4>Ajouter votre entreprise gratuitement</h4><br><br>
";
// line 31
yield $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.', 31, $this->source); })()), 'form_start');
yield "
<div class=\"row\">
<div class=\"col-lg-3\">";
// line 33
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "business_name", [], "any", false, false, false, 33), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 34
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 34, $this->source); })()), "street_address", [], "any", false, false, false, 34), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 35
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 35, $this->source); })()), "state", [], "any", false, false, false, 35), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 36
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 36, $this->source); })()), "city", [], "any", false, false, false, 36), 'row');
yield "</div>
</div>
<div class=\"row\">
<div class=\"col-lg-3\">";
// line 40
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), "fixe_phone", [], "any", false, false, false, 40), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 41
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 41, $this->source); })()), "fax_number", [], "any", false, false, false, 41), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 42
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 42, $this->source); })()), "mobile", [], "any", false, false, false, 42), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 43
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 43, $this->source); })()), "contact_name", [], "any", false, false, false, 43), 'row');
yield "</div>
</div>
<div class=\"row\">
<div class=\"col-lg-3\">";
// line 46
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 46, $this->source); })()), "email", [], "any", false, false, false, 46), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 47
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 47, $this->source); })()), "year_established", [], "any", false, false, false, 47), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 49
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 49, $this->source); })()), "facebook", [], "any", false, false, false, 49), 'row');
yield "</div>
<div class=\"col-lg-3\">";
// line 50
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 50, $this->source); })()), "website", [], "any", false, false, false, 50), 'row');
yield "</div>
</div>
<div class=\"row\">
<div class=\"col-lg-6\"> ";
// line 53
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 53, $this->source); })()), "categories", [], "any", false, false, false, 53), 'row');
yield "</div>
<div class=\"col-lg-6\">";
// line 54
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 54, $this->source); })()), "key_words", [], "any", false, false, false, 54), 'row');
yield "</div>
</div>
<div class=\"row\">
<div class=\"col-lg-6\">";
// line 58
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 58, $this->source); })()), "description", [], "any", false, false, false, 58), 'row');
yield "</div>
<div class=\"col-lg-6\">";
// line 59
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 59, $this->source); })()), "company_presentation", [], "any", false, false, false, 59), 'row');
yield "</div>
</div>
<div class=\"row\">
<div class=\"col-lg-4\">";
// line 63
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 63, $this->source); })()), "visite", [], "any", false, false, false, 63), 'row');
yield "</div>
<div class=\"col-lg-4\">";
// line 64
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 64, $this->source); })()), "annonce", [], "any", false, false, false, 64), 'row');
yield "</div>
<div class=\"col-lg-4\"> <button class=\"btn btn-primary\">Enregestrer</button></div>
";
// line 67
yield $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.', 67, $this->source); })()), 'widget');
yield "
";
// line 69
yield $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.', 69, $this->source); })()), 'form_end');
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "main/ajouter_entreprise.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 215 => 69, 210 => 67, 204 => 64, 200 => 63, 193 => 59, 189 => 58, 182 => 54, 178 => 53, 172 => 50, 168 => 49, 163 => 47, 159 => 46, 153 => 43, 149 => 42, 145 => 41, 141 => 40, 134 => 36, 130 => 35, 126 => 34, 122 => 33, 117 => 31, 90 => 6, 80 => 5, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'static.html.twig' %}
{% block title %}Hello MainController!{% endblock %}
{% block body %}
<section id=\"explore\" class=\"explore\">
\t\t\t<div class=\"container\">
<section id=\"breadcrumb\">
<div class=\"wrapper\">
<ol class=\"breadcrumb\" itemscope=\"\" itemtype=\"\">
<li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
<a itemscope=\"\" itemtype=\"\" itemprop=\"item\" itemid=\"\" href=\"./\">
<span itemprop=\"name\">Accueil</span>
</a>
<meta itemprop=\"position\" content=\"1\">
</li>
›
<li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
<span itemprop=\"name\">Appel d'offres</span>
<meta itemprop=\"position\" content=\"3\">
</li>
</ol>
</div>
</section>
<!-- div global -->
<div class=\"containner \">
<h4>Ajouter votre entreprise gratuitement</h4><br><br>
{{form_start(form)}}
<div class=\"row\">
<div class=\"col-lg-3\">{{form_row(form.business_name)}}</div>
<div class=\"col-lg-3\">{{form_row(form.street_address)}}</div>
<div class=\"col-lg-3\">{{form_row(form.state)}}</div>
<div class=\"col-lg-3\">{{form_row(form.city)}}</div>
</div>
<div class=\"row\">
<div class=\"col-lg-3\">{{form_row(form.fixe_phone)}}</div>
<div class=\"col-lg-3\">{{form_row(form.fax_number)}}</div>
<div class=\"col-lg-3\">{{form_row(form.mobile)}}</div>
<div class=\"col-lg-3\">{{form_row(form.contact_name)}}</div>
</div>
<div class=\"row\">
<div class=\"col-lg-3\">{{form_row(form.email)}}</div>
<div class=\"col-lg-3\">{{form_row(form.year_established)}}</div>
<div class=\"col-lg-3\">{{form_row(form.facebook)}}</div>
<div class=\"col-lg-3\">{{form_row(form.website)}}</div>
</div>
<div class=\"row\">
<div class=\"col-lg-6\"> {{form_row(form.categories)}}</div>
<div class=\"col-lg-6\">{{form_row(form.key_words)}}</div>
</div>
<div class=\"row\">
<div class=\"col-lg-6\">{{form_row(form.description)}}</div>
<div class=\"col-lg-6\">{{form_row(form.company_presentation)}}</div>
</div>
<div class=\"row\">
<div class=\"col-lg-4\">{{form_row(form.visite)}}</div>
<div class=\"col-lg-4\">{{form_row(form.annonce)}}</div>
<div class=\"col-lg-4\"> <button class=\"btn btn-primary\">Enregestrer</button></div>
{{ form_widget(form) }}
{{ form_end(form) }}
</div>
</div>
{% endblock %}
", "main/ajouter_entreprise.html.twig", "/home/annuairepn/www/aea/templates/main/ajouter_entreprise.html.twig");
}
}