var/cache/dev/twig/b4/b46df395ce0a953e669bcbe6ab38085f.php line 117

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* main/ajouter_entreprise.html.twig */
  15. class __TwigTemplate_18c8c41daae84fe2515b26595e8d92f1 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "static.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main/ajouter_entreprise.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main/ajouter_entreprise.html.twig"));
  40.         $this->parent $this->loadTemplate("static.html.twig""main/ajouter_entreprise.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         yield "Hello MainController!";
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         return; yield '';
  61.     }
  62.     // line 5
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 6
  71.         yield "
  72. <section id=\"explore\" class=\"explore\">
  73. \t\t\t<div class=\"container\">
  74.       <section id=\"breadcrumb\">
  75.   <div class=\"wrapper\">
  76.     <ol class=\"breadcrumb\" itemscope=\"\" itemtype=\"\">
  77.       <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
  78.         <a itemscope=\"\" itemtype=\"\" itemprop=\"item\" itemid=\"\" href=\"./\">
  79.           <span itemprop=\"name\">Accueil</span>
  80.         </a>
  81.         <meta itemprop=\"position\" content=\"1\">
  82.       </li>
  83.       ›
  84.       <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
  85.        <span itemprop=\"name\">Appel d'offres</span>
  86.        <meta itemprop=\"position\" content=\"3\">
  87.       </li>
  88.     </ol>
  89.   </div>
  90. </section>
  91. <!-- div global -->
  92. <div class=\"containner \">
  93.   <h4>Ajouter votre entreprise gratuitement</h4><br><br>
  94.   ";
  95.         // line 31
  96.         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');
  97.         yield "
  98.   <div class=\"row\">
  99.     <div class=\"col-lg-3\">";
  100.         // line 33
  101.         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"falsefalsefalse33), 'row');
  102.         yield "</div>
  103.     <div class=\"col-lg-3\">";
  104.         // line 34
  105.         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"falsefalsefalse34), 'row');
  106.         yield "</div>
  107.     <div class=\"col-lg-3\">";
  108.         // line 35
  109.         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"falsefalsefalse35), 'row');
  110.         yield "</div>
  111.     <div class=\"col-lg-3\">";
  112.         // line 36
  113.         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"falsefalsefalse36), 'row');
  114.         yield "</div>  
  115.   </div>
  116.       
  117.    <div class=\"row\">
  118.       <div class=\"col-lg-3\">";
  119.         // line 40
  120.         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"falsefalsefalse40), 'row');
  121.         yield "</div>
  122.       <div class=\"col-lg-3\">";
  123.         // line 41
  124.         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"falsefalsefalse41), 'row');
  125.         yield "</div>
  126.       <div class=\"col-lg-3\">";
  127.         // line 42
  128.         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"falsefalsefalse42), 'row');
  129.         yield "</div>
  130.       <div class=\"col-lg-3\">";
  131.         // line 43
  132.         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"falsefalsefalse43), 'row');
  133.         yield "</div>
  134.     </div>
  135.    <div class=\"row\">
  136.       <div class=\"col-lg-3\">";
  137.         // line 46
  138.         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"falsefalsefalse46), 'row');
  139.         yield "</div>
  140.       <div class=\"col-lg-3\">";
  141.         // line 47
  142.         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"falsefalsefalse47), 'row');
  143.         yield "</div>
  144.       
  145.       <div class=\"col-lg-3\">";
  146.         // line 49
  147.         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"falsefalsefalse49), 'row');
  148.         yield "</div>
  149.        <div class=\"col-lg-3\">";
  150.         // line 50
  151.         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"falsefalsefalse50), 'row');
  152.         yield "</div>
  153.        </div>
  154.    <div class=\"row\">
  155.       <div class=\"col-lg-6\"> ";
  156.         // line 53
  157.         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"falsefalsefalse53), 'row');
  158.         yield "</div>
  159.         <div class=\"col-lg-6\">";
  160.         // line 54
  161.         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"falsefalsefalse54), 'row');
  162.         yield "</div>
  163.     </div>
  164.     <div class=\"row\">
  165.     
  166.       <div class=\"col-lg-6\">";
  167.         // line 58
  168.         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"falsefalsefalse58), 'row');
  169.         yield "</div>
  170.       <div class=\"col-lg-6\">";
  171.         // line 59
  172.         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"falsefalsefalse59), 'row');
  173.         yield "</div>
  174.     </div>
  175.       <div class=\"row\">
  176.         
  177.       <div class=\"col-lg-4\">";
  178.         // line 63
  179.         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"falsefalsefalse63), 'row');
  180.         yield "</div>
  181.       <div class=\"col-lg-4\">";
  182.         // line 64
  183.         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"falsefalsefalse64), 'row');
  184.         yield "</div>
  185.        <div class=\"col-lg-4\"> <button class=\"btn btn-primary\">Enregestrer</button></div>
  186.  ";
  187.         // line 67
  188.         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');
  189.         yield "
  190. ";
  191.         // line 69
  192.         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');
  193.         yield "
  194.      
  195. </div>
  196. </div>
  197.     
  198. ";
  199.         
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  201.         
  202.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  203.         return; yield '';
  204.     }
  205.     /**
  206.      * @codeCoverageIgnore
  207.      */
  208.     public function getTemplateName()
  209.     {
  210.         return "main/ajouter_entreprise.html.twig";
  211.     }
  212.     /**
  213.      * @codeCoverageIgnore
  214.      */
  215.     public function isTraitable()
  216.     {
  217.         return false;
  218.     }
  219.     /**
  220.      * @codeCoverageIgnore
  221.      */
  222.     public function getDebugInfo()
  223.     {
  224.         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,);
  225.     }
  226.     public function getSourceContext()
  227.     {
  228.         return new Source("{% extends 'static.html.twig' %}
  229. {% block title %}Hello MainController!{% endblock %}
  230. {% block body %}
  231. <section id=\"explore\" class=\"explore\">
  232. \t\t\t<div class=\"container\">
  233.       <section id=\"breadcrumb\">
  234.   <div class=\"wrapper\">
  235.     <ol class=\"breadcrumb\" itemscope=\"\" itemtype=\"\">
  236.       <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
  237.         <a itemscope=\"\" itemtype=\"\" itemprop=\"item\" itemid=\"\" href=\"./\">
  238.           <span itemprop=\"name\">Accueil</span>
  239.         </a>
  240.         <meta itemprop=\"position\" content=\"1\">
  241.       </li>
  242.       ›
  243.       <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
  244.        <span itemprop=\"name\">Appel d'offres</span>
  245.        <meta itemprop=\"position\" content=\"3\">
  246.       </li>
  247.     </ol>
  248.   </div>
  249. </section>
  250. <!-- div global -->
  251. <div class=\"containner \">
  252.   <h4>Ajouter votre entreprise gratuitement</h4><br><br>
  253.   {{form_start(form)}}
  254.   <div class=\"row\">
  255.     <div class=\"col-lg-3\">{{form_row(form.business_name)}}</div>
  256.     <div class=\"col-lg-3\">{{form_row(form.street_address)}}</div>
  257.     <div class=\"col-lg-3\">{{form_row(form.state)}}</div>
  258.     <div class=\"col-lg-3\">{{form_row(form.city)}}</div>  
  259.   </div>
  260.       
  261.    <div class=\"row\">
  262.       <div class=\"col-lg-3\">{{form_row(form.fixe_phone)}}</div>
  263.       <div class=\"col-lg-3\">{{form_row(form.fax_number)}}</div>
  264.       <div class=\"col-lg-3\">{{form_row(form.mobile)}}</div>
  265.       <div class=\"col-lg-3\">{{form_row(form.contact_name)}}</div>
  266.     </div>
  267.    <div class=\"row\">
  268.       <div class=\"col-lg-3\">{{form_row(form.email)}}</div>
  269.       <div class=\"col-lg-3\">{{form_row(form.year_established)}}</div>
  270.       
  271.       <div class=\"col-lg-3\">{{form_row(form.facebook)}}</div>
  272.        <div class=\"col-lg-3\">{{form_row(form.website)}}</div>
  273.        </div>
  274.    <div class=\"row\">
  275.       <div class=\"col-lg-6\"> {{form_row(form.categories)}}</div>
  276.         <div class=\"col-lg-6\">{{form_row(form.key_words)}}</div>
  277.     </div>
  278.     <div class=\"row\">
  279.     
  280.       <div class=\"col-lg-6\">{{form_row(form.description)}}</div>
  281.       <div class=\"col-lg-6\">{{form_row(form.company_presentation)}}</div>
  282.     </div>
  283.       <div class=\"row\">
  284.         
  285.       <div class=\"col-lg-4\">{{form_row(form.visite)}}</div>
  286.       <div class=\"col-lg-4\">{{form_row(form.annonce)}}</div>
  287.        <div class=\"col-lg-4\"> <button class=\"btn btn-primary\">Enregestrer</button></div>
  288.  {{ form_widget(form) }}
  289. {{ form_end(form) }}
  290.      
  291. </div>
  292. </div>
  293.     
  294. {% endblock %}
  295. ""main/ajouter_entreprise.html.twig""/home/annuairepn/www/aea/templates/main/ajouter_entreprise.html.twig");
  296.     }
  297. }