<?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;
/* home/solicitar.html.twig */
class __TwigTemplate_a50b5a60f24c4d9fdd3bfb1b8aba99da 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'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "home/solicitar.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);
}
// 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"));
yield "Hello HomeController!";
$__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"));
// line 6
yield "
<div class=\"uk-grid-large uk-grid-margin-small uk-child-width-expand@s uk-flex-center\" uk-grid>
<div>
<h1 class=\"uk-text-center uk-heading-medium\">";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["p"] ?? null), "content", [], "any", false, false, false, 9), "html", null, true);
yield "</h1>
</div>
</div>
<div class=\"uk-container uk-margin-top\">
<div class=\"uk-grid-large uk-grid-margin-small uk-child-width-expand@s uk-flex-center\" uk-grid>
<div>
<div class=\"uk-card uk-card-default\">
<div class=\"uk-card-header\">
<h3 class=\"uk-card-title\">Solicitud de Reservación</h3>
</div>
<div class=\"uk-card-body\">
";
// line 24
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_start', ["attr" => ["uk-grid" => "", "class" => "uk-grid-small"], "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_solicitar", ["slug" => CoreExtension::getAttribute($this->env, $this->source, ($context["p"] ?? null), "slug", [], "any", false, false, false, 24)])]);
yield "
<div class=\"uk-width-1-2\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Nombre</label>
<div class=\"uk-form-controls\">
";
// line 29
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "nombre", [], "any", false, false, false, 29), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-2\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Apellido</label>
<div class=\"uk-form-controls\">
";
// line 35
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "apellido", [], "any", false, false, false, 35), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-2\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Email</label>
<div class=\"uk-form-controls\">
";
// line 41
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "email", [], "any", false, false, false, 41), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-2\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Teléfono</label>
<div class=\"uk-form-controls\">
";
// line 47
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "telefono", [], "any", false, false, false, 47), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-1\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Proveedor</label>
<div class=\"uk-form-controls\">
";
// line 53
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "proveedor", [], "any", false, false, false, 53), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-4\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Fecha de Entrada</label>
<div class=\"uk-form-controls\">
";
// line 59
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "fechaEntrada", [], "any", false, false, false, 59), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-4\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Fecha de Salida</label>
<div class=\"uk-form-controls\">
";
// line 65
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "fechaSalida", [], "any", false, false, false, 65), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-4\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Adultos</label>
<div class=\"uk-form-controls\">
";
// line 71
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "adultos", [], "any", false, false, false, 71), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-4\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Menores</label>
<div class=\"uk-form-controls\">
";
// line 77
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "menores", [], "any", false, false, false, 77), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-1 uk-margin-top\">
";
// line 82
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "entiendo", [], "any", false, false, false, 82), 'widget');
yield "
<label class=\"\" for=\"form-horizontal-text\">Entiendo que esto es sólo una <strong><em>solicitud</em></strong>, y en ninguna manera constituye o garantiza Reservación en este Hotel.</label>
</div>
<div class=\"uk-width-1-1\">
";
// line 86
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "autorizacion", [], "any", false, false, false, 86), 'widget');
yield "
<label class=\"\" for=\"form-horizontal-text\">Autorizo a <strong><em>DreamVacation Puerto Rico</em></strong> a contactarme vía telefónica dentro del siguiente horario:</label>
</div>
<div class=\"uk-width-1-2\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Horas de Contacto <small>(Desde esta hora)</small></label>
<div class=\"uk-form-controls\">
";
// line 92
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "horaDeContactoDesde", [], "any", false, false, false, 92), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-2\">
<label class=\"uk-form-label\" for=\"form-horizontal-text\">Horas de Contacto <small>(Hasta esta hora)</small></label>
<div class=\"uk-form-controls\">
";
// line 98
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "horaDeContactoHasta", [], "any", false, false, false, 98), 'widget');
yield "
</div>
</div>
<div class=\"uk-width-1-2\">
<button class=\"uk-button uk-button-danger\" type=\"submit\">Someter Formulario</button>
</div>
";
// line 104
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_end');
yield "
</div>
</div>
</div>
</div>
</div>
</br>
</br>
</br>
";
// line 115
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 119
yield "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 115
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(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", "javascripts"));
// line 116
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script src=\"";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/cart.js"), "html", null, true);
yield "\"></script>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "home/solicitar.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 271 => 117, 266 => 116, 256 => 115, 247 => 119, 245 => 115, 231 => 104, 222 => 98, 213 => 92, 204 => 86, 197 => 82, 189 => 77, 180 => 71, 171 => 65, 162 => 59, 153 => 53, 144 => 47, 135 => 41, 126 => 35, 117 => 29, 109 => 24, 91 => 9, 86 => 6, 76 => 5, 59 => 3, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("", "home/solicitar.html.twig", "/var/www/dvpr/templates/home/solicitar.html.twig");
}
}