<?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;
use Twig\TemplateWrapper;
/* formulaire_montage/demande.html.twig */
class __TwigTemplate_70a6b80c4c56df86157eb78573128e8f extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $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): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "formulaire_montage/demande.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "formulaire_montage/demande.html.twig"));
$this->parent = $this->load("base.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
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$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 "Match Montage+ | Formulaire demande pour montage";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$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 class=\"bg-surface-50 dark:bg-gray-900\">
<div class=\"max-w-screen-lg mx-auto px-4 py-10 lg:py-14\">
<div class=\"mb-6\">
<h1 class=\"text-3xl font-extrabold text-gray-900 dark:text-white\">Faire une demande</h1>
<p class=\"mt-2 text-gray-600 dark:text-gray-400\">Formulaire pour une demande de montage de meuble.</p>
</div>
<div class=\"rounded-xl border border-surface-200 bg-white dark:bg-gray-800 dark:border-gray-700 shadow-sm\">
<div class=\"p-6 lg:p-8\">
";
// line 16
$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);
// line 17
yield " ";
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"]]);
yield "
";
// line 18
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');
yield "
<div class=\"flex items-center gap-3 pt-2\">
<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>
<a href=\"";
// line 21
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
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>
</div>
";
// line 23
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');
yield "
</div>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "formulaire_montage/demande.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 130 => 23, 125 => 21, 119 => 18, 114 => 17, 112 => 16, 100 => 6, 87 => 5, 64 => 3, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Match Montage+ | Formulaire demande pour montage{% endblock %}
{% block body %}
<section class=\"bg-surface-50 dark:bg-gray-900\">
<div class=\"max-w-screen-lg mx-auto px-4 py-10 lg:py-14\">
<div class=\"mb-6\">
<h1 class=\"text-3xl font-extrabold text-gray-900 dark:text-white\">Faire une demande</h1>
<p class=\"mt-2 text-gray-600 dark:text-gray-400\">Formulaire pour une demande de montage de meuble.</p>
</div>
<div class=\"rounded-xl border border-surface-200 bg-white dark:bg-gray-800 dark:border-gray-700 shadow-sm\">
<div class=\"p-6 lg:p-8\">
{% form_theme demandeMontageForm 'form/_tailwind_theme.html.twig' %}
{{ form_start(demandeMontageForm, {'attr': {'class': 'space-y-6'}}) }}
{{ form_widget(demandeMontageForm) }}
<div class=\"flex items-center gap-3 pt-2\">
<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>
<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>
</div>
{{ form_end(demandeMontageForm) }}
</div>
</div>
</div>
</section>
{% endblock %}", "formulaire_montage/demande.html.twig", "/home/u956140113/domains/sassify.fr/public_html/match-meuble/templates/formulaire_montage/demande.html.twig");
}
}