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

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); })()), "mobile", [], "any"falsefalsefalse36), 'row');
  114.         yield "</div>
  115.    
  116.   </div>
  117.       
  118.    <div class=\"row\">
  119.      
  120.      
  121.        <div class=\"col-lg-3\">";
  122.         // line 43
  123.         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); })()), "email", [], "any"falsefalsefalse43), 'row');
  124.         yield "</div>
  125.      <div class=\"col-lg-3\">";
  126.         // line 44
  127.         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.'44$this->source); })()), "facebook", [], "any"falsefalsefalse44), 'row');
  128.         yield "</div>
  129.        <div class=\"col-lg-3\">";
  130.         // line 45
  131.         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.'45$this->source); })()), "website", [], "any"falsefalsefalse45), 'row');
  132.         yield "</div>
  133.         <div class=\"col-lg-3\"> ";
  134.         // line 46
  135.         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); })()), "categories", [], "any"falsefalsefalse46), 'row');
  136.         yield "</div>
  137.     </div>
  138.    <div class=\"row\">
  139.            
  140.      
  141.        </div>
  142.    <div class=\"row\">
  143.      
  144.       
  145.     </div>
  146.     <div class=\"row\">
  147.     
  148.   
  149.       <div class=\"col-lg-6\">";
  150.         // line 59
  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.'59$this->source); })()), "company_presentation", [], "any"falsefalsefalse59), 'row');
  152.         yield "</div>
  153.     </div>
  154.       <div class=\"row\">
  155.         
  156.       <div class=\"col-lg-4\">";
  157.         // line 63
  158.         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');
  159.         yield "</div>
  160.       <div class=\"col-lg-4\">";
  161.         // line 64
  162.         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');
  163.         yield "</div>
  164.        <div class=\"col-lg-4\"> <button class=\"btn btn-primary\">Enregestrer</button></div>
  165.  ";
  166.         // line 67
  167.         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');
  168.         yield "
  169. ";
  170.         // line 69
  171.         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');
  172.         yield "
  173.      
  174. </div>
  175. </div>
  176.     
  177. ";
  178.         
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  180.         
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  182.         return; yield '';
  183.     }
  184.     /**
  185.      * @codeCoverageIgnore
  186.      */
  187.     public function getTemplateName()
  188.     {
  189.         return "main/ajouter_entreprise.html.twig";
  190.     }
  191.     /**
  192.      * @codeCoverageIgnore
  193.      */
  194.     public function isTraitable()
  195.     {
  196.         return false;
  197.     }
  198.     /**
  199.      * @codeCoverageIgnore
  200.      */
  201.     public function getDebugInfo()
  202.     {
  203.         return array (  194 => 69,  189 => 67,  183 => 64,  179 => 63,  172 => 59,  156 => 46,  152 => 45,  148 => 44,  144 => 43,  134 => 36,  130 => 35,  126 => 34,  122 => 33,  117 => 31,  90 => 6,  80 => 5,  60 => 3,  37 => 1,);
  204.     }
  205.     public function getSourceContext()
  206.     {
  207.         return new Source("{% extends 'static.html.twig' %}
  208. {% block title %}Hello MainController!{% endblock %}
  209. {% block body %}
  210. <section id=\"explore\" class=\"explore\">
  211. \t\t\t<div class=\"container\">
  212.       <section id=\"breadcrumb\">
  213.   <div class=\"wrapper\">
  214.     <ol class=\"breadcrumb\" itemscope=\"\" itemtype=\"\">
  215.       <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
  216.         <a itemscope=\"\" itemtype=\"\" itemprop=\"item\" itemid=\"\" href=\"./\">
  217.           <span itemprop=\"name\">Accueil</span>
  218.         </a>
  219.         <meta itemprop=\"position\" content=\"1\">
  220.       </li>
  221.       ›
  222.       <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"\">
  223.        <span itemprop=\"name\">Appel d'offres</span>
  224.        <meta itemprop=\"position\" content=\"3\">
  225.       </li>
  226.     </ol>
  227.   </div>
  228. </section>
  229. <!-- div global -->
  230. <div class=\"containner \">
  231.   <h4>Ajouter votre entreprise gratuitement</h4><br><br>
  232.   {{form_start(form)}}
  233.   <div class=\"row\">
  234.     <div class=\"col-lg-3\">{{form_row(form.business_name)}}</div>
  235.     <div class=\"col-lg-3\">{{form_row(form.street_address)}}</div>
  236.     <div class=\"col-lg-3\">{{form_row(form.state)}}</div>
  237.      <div class=\"col-lg-3\">{{form_row(form.mobile)}}</div>
  238.    
  239.   </div>
  240.       
  241.    <div class=\"row\">
  242.      
  243.      
  244.        <div class=\"col-lg-3\">{{form_row(form.email)}}</div>
  245.      <div class=\"col-lg-3\">{{form_row(form.facebook)}}</div>
  246.        <div class=\"col-lg-3\">{{form_row(form.website)}}</div>
  247.         <div class=\"col-lg-3\"> {{form_row(form.categories)}}</div>
  248.     </div>
  249.    <div class=\"row\">
  250.            
  251.      
  252.        </div>
  253.    <div class=\"row\">
  254.      
  255.       
  256.     </div>
  257.     <div class=\"row\">
  258.     
  259.   
  260.       <div class=\"col-lg-6\">{{form_row(form.company_presentation)}}</div>
  261.     </div>
  262.       <div class=\"row\">
  263.         
  264.       <div class=\"col-lg-4\">{{form_row(form.visite)}}</div>
  265.       <div class=\"col-lg-4\">{{form_row(form.annonce)}}</div>
  266.        <div class=\"col-lg-4\"> <button class=\"btn btn-primary\">Enregestrer</button></div>
  267.  {{ form_widget(form) }}
  268. {{ form_end(form) }}
  269.      
  270. </div>
  271. </div>
  272.     
  273. {% endblock %}
  274. ""main/ajouter_entreprise.html.twig""/home/annuairepn/www/aea/templates/main/ajouter_entreprise.html.twig");
  275.     }
  276. }