var/cache/dev/twig/65/659ef224c6d51fb6aca4c4dcd9cae7f0.php line 90

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. use Twig\TemplateWrapper;
  15. /* formulaire_montage/demande.html.twig */
  16. class __TwigTemplate_70a6b80c4c56df86157eb78573128e8f extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'body' => [$this'block_body'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""formulaire_montage/demande.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""formulaire_montage/demande.html.twig"));
  44.         $this->parent $this->load("base.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield "Match Montage+ | Formulaire demande pour montage";
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         yield from [];
  68.     }
  69.     // line 5
  70.     /**
  71.      * @return iterable<null|scalar|\Stringable>
  72.      */
  73.     public function block_body(array $context, array $blocks = []): iterable
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  80.         // line 6
  81.         yield "
  82. <section class=\"bg-surface-50 dark:bg-gray-900\">
  83.     <div class=\"max-w-screen-lg mx-auto px-4 py-10 lg:py-14\">
  84.         <div class=\"mb-6\">
  85.             <h1 class=\"text-3xl font-extrabold text-gray-900 dark:text-white\">Faire une demande</h1>
  86.             <p class=\"mt-2 text-gray-600 dark:text-gray-400\">Formulaire pour une demande de montage de meuble.</p>
  87.         </div>
  88.         <div class=\"rounded-xl border border-surface-200 bg-white dark:bg-gray-800 dark:border-gray-700 shadow-sm\">
  89.             <div class=\"p-6 lg:p-8\">
  90.                 ";
  91.         // line 16
  92.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["demandeMontageForm"]) || array_key_exists("demandeMontageForm"$context) ? $context["demandeMontageForm"] : (function () { throw new RuntimeError('Variable "demandeMontageForm" does not exist.'16$this->source); })()), ["form/_tailwind_theme.html.twig"], true);
  93.         // line 17
  94.         yield "                ";
  95.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["demandeMontageForm"]) || array_key_exists("demandeMontageForm"$context) ? $context["demandeMontageForm"] : (function () { throw new RuntimeError('Variable "demandeMontageForm" does not exist.'17$this->source); })()), 'form_start', ["attr" => ["class" => "space-y-6"]]);
  96.         yield "
  97.                     ";
  98.         // line 18
  99.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["demandeMontageForm"]) || array_key_exists("demandeMontageForm"$context) ? $context["demandeMontageForm"] : (function () { throw new RuntimeError('Variable "demandeMontageForm" does not exist.'18$this->source); })()), 'widget');
  100.         yield "
  101.                     <div class=\"flex items-center gap-3 pt-2\">
  102.                         <button type=\"submit\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-white bg-primary-700 hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 rounded-lg dark:bg-primary-600 dark:hover:bg-primary-700\">Soumettre la demande</button>
  103.                         <a href=\"";
  104.         // line 21
  105.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
  106.         yield "\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-gray-900 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 dark:text-white dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700\">Retour</a>
  107.                     </div>
  108.                 ";
  109.         // line 23
  110.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["demandeMontageForm"]) || array_key_exists("demandeMontageForm"$context) ? $context["demandeMontageForm"] : (function () { throw new RuntimeError('Variable "demandeMontageForm" does not exist.'23$this->source); })()), 'form_end');
  111.         yield "
  112.             </div>
  113.         </div>
  114.     </div>
  115. </section>
  116. ";
  117.         
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  119.         
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  121.         yield from [];
  122.     }
  123.     /**
  124.      * @codeCoverageIgnore
  125.      */
  126.     public function getTemplateName(): string
  127.     {
  128.         return "formulaire_montage/demande.html.twig";
  129.     }
  130.     /**
  131.      * @codeCoverageIgnore
  132.      */
  133.     public function isTraitable(): bool
  134.     {
  135.         return false;
  136.     }
  137.     /**
  138.      * @codeCoverageIgnore
  139.      */
  140.     public function getDebugInfo(): array
  141.     {
  142.         return array (  130 => 23,  125 => 21,  119 => 18,  114 => 17,  112 => 16,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  143.     }
  144.     public function getSourceContext(): Source
  145.     {
  146.         return new Source("{% extends 'base.html.twig' %}
  147. {% block title %}Match Montage+ | Formulaire demande pour montage{% endblock %}
  148. {% block body %}
  149. <section class=\"bg-surface-50 dark:bg-gray-900\">
  150.     <div class=\"max-w-screen-lg mx-auto px-4 py-10 lg:py-14\">
  151.         <div class=\"mb-6\">
  152.             <h1 class=\"text-3xl font-extrabold text-gray-900 dark:text-white\">Faire une demande</h1>
  153.             <p class=\"mt-2 text-gray-600 dark:text-gray-400\">Formulaire pour une demande de montage de meuble.</p>
  154.         </div>
  155.         <div class=\"rounded-xl border border-surface-200 bg-white dark:bg-gray-800 dark:border-gray-700 shadow-sm\">
  156.             <div class=\"p-6 lg:p-8\">
  157.                 {% form_theme demandeMontageForm 'form/_tailwind_theme.html.twig' %}
  158.                 {{ form_start(demandeMontageForm, {'attr': {'class': 'space-y-6'}}) }}
  159.                     {{ form_widget(demandeMontageForm) }}
  160.                     <div class=\"flex items-center gap-3 pt-2\">
  161.                         <button type=\"submit\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-white bg-primary-700 hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 rounded-lg dark:bg-primary-600 dark:hover:bg-primary-700\">Soumettre la demande</button>
  162.                         <a href=\"{{ path('app_home') }}\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-gray-900 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 dark:text-white dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700\">Retour</a>
  163.                     </div>
  164.                 {{ form_end(demandeMontageForm) }}
  165.             </div>
  166.         </div>
  167.     </div>
  168. </section>
  169. {% endblock %}""formulaire_montage/demande.html.twig""/home/u956140113/domains/sassify.fr/public_html/match-meuble/templates/formulaire_montage/demande.html.twig");
  170.     }
  171. }