var/cache/dev/twig/d0/d01037556ce7c27037e5dd5e8cd086d3.php line 52

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. /* home/solicitar.html.twig */
  16. class __TwigTemplate_a50b5a60f24c4d9fdd3bfb1b8aba99da 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. 'javascripts' => [$this, 'block_javascripts'],
  31. ];
  32. }
  33. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34. {
  35. // line 1
  36. return "base.html.twig";
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home/solicitar.html.twig"));
  43. $this->parent = $this->load("base.html.twig", 1);
  44. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  45. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46. }
  47. // line 3
  48. /**
  49. * @return iterable<null|scalar|\Stringable>
  50. */
  51. public function block_title(array $context, array $blocks = []): iterable
  52. {
  53. $macros = $this->macros;
  54. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  56. yield "Hello HomeController!";
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  58. yield from [];
  59. }
  60. // line 5
  61. /**
  62. * @return iterable<null|scalar|\Stringable>
  63. */
  64. public function block_body(array $context, array $blocks = []): iterable
  65. {
  66. $macros = $this->macros;
  67. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  69. // line 6
  70. yield "
  71. <div class=\"uk-grid-large uk-grid-margin-small uk-child-width-expand@s uk-flex-center\" uk-grid>
  72. <div>
  73. <h1 class=\"uk-text-center uk-heading-medium\">";
  74. // line 9
  75. 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);
  76. yield "</h1>
  77. </div>
  78. </div>
  79. <div class=\"uk-container uk-margin-top\">
  80. <div class=\"uk-grid-large uk-grid-margin-small uk-child-width-expand@s uk-flex-center\" uk-grid>
  81. <div>
  82. <div class=\"uk-card uk-card-default\">
  83. <div class=\"uk-card-header\">
  84. <h3 class=\"uk-card-title\">Solicitud de Reservación</h3>
  85. </div>
  86. <div class=\"uk-card-body\">
  87. ";
  88. // line 24
  89. 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)])]);
  90. yield "
  91. <div class=\"uk-width-1-2\">
  92. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Nombre</label>
  93. <div class=\"uk-form-controls\">
  94. ";
  95. // line 29
  96. 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');
  97. yield "
  98. </div>
  99. </div>
  100. <div class=\"uk-width-1-2\">
  101. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Apellido</label>
  102. <div class=\"uk-form-controls\">
  103. ";
  104. // line 35
  105. 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');
  106. yield "
  107. </div>
  108. </div>
  109. <div class=\"uk-width-1-2\">
  110. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Email</label>
  111. <div class=\"uk-form-controls\">
  112. ";
  113. // line 41
  114. 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');
  115. yield "
  116. </div>
  117. </div>
  118. <div class=\"uk-width-1-2\">
  119. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Teléfono</label>
  120. <div class=\"uk-form-controls\">
  121. ";
  122. // line 47
  123. 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');
  124. yield "
  125. </div>
  126. </div>
  127. <div class=\"uk-width-1-1\">
  128. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Proveedor</label>
  129. <div class=\"uk-form-controls\">
  130. ";
  131. // line 53
  132. 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');
  133. yield "
  134. </div>
  135. </div>
  136. <div class=\"uk-width-1-4\">
  137. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Fecha de Entrada</label>
  138. <div class=\"uk-form-controls\">
  139. ";
  140. // line 59
  141. 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');
  142. yield "
  143. </div>
  144. </div>
  145. <div class=\"uk-width-1-4\">
  146. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Fecha de Salida</label>
  147. <div class=\"uk-form-controls\">
  148. ";
  149. // line 65
  150. 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');
  151. yield "
  152. </div>
  153. </div>
  154. <div class=\"uk-width-1-4\">
  155. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Adultos</label>
  156. <div class=\"uk-form-controls\">
  157. ";
  158. // line 71
  159. 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');
  160. yield "
  161. </div>
  162. </div>
  163. <div class=\"uk-width-1-4\">
  164. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Menores</label>
  165. <div class=\"uk-form-controls\">
  166. ";
  167. // line 77
  168. 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');
  169. yield "
  170. </div>
  171. </div>
  172. <div class=\"uk-width-1-1 uk-margin-top\">
  173. ";
  174. // line 82
  175. 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');
  176. yield "
  177. <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>
  178. </div>
  179. <div class=\"uk-width-1-1\">
  180. ";
  181. // line 86
  182. 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');
  183. yield "
  184. <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>
  185. </div>
  186. <div class=\"uk-width-1-2\">
  187. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Horas de Contacto <small>(Desde esta hora)</small></label>
  188. <div class=\"uk-form-controls\">
  189. ";
  190. // line 92
  191. 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');
  192. yield "
  193. </div>
  194. </div>
  195. <div class=\"uk-width-1-2\">
  196. <label class=\"uk-form-label\" for=\"form-horizontal-text\">Horas de Contacto <small>(Hasta esta hora)</small></label>
  197. <div class=\"uk-form-controls\">
  198. ";
  199. // line 98
  200. 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');
  201. yield "
  202. </div>
  203. </div>
  204. <div class=\"uk-width-1-2\">
  205. <button class=\"uk-button uk-button-danger\" type=\"submit\">Someter Formulario</button>
  206. </div>
  207. ";
  208. // line 104
  209. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_end');
  210. yield "
  211. </div>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. </br>
  217. </br>
  218. </br>
  219. ";
  220. // line 115
  221. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  222. // line 119
  223. yield "
  224. ";
  225. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226. yield from [];
  227. }
  228. // line 115
  229. /**
  230. * @return iterable<null|scalar|\Stringable>
  231. */
  232. public function block_javascripts(array $context, array $blocks = []): iterable
  233. {
  234. $macros = $this->macros;
  235. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  237. // line 116
  238. yield " ";
  239. yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  240. yield "
  241. <script src=\"";
  242. // line 117
  243. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/cart.js"), "html", null, true);
  244. yield "\"></script>
  245. ";
  246. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  247. yield from [];
  248. }
  249. /**
  250. * @codeCoverageIgnore
  251. */
  252. public function getTemplateName(): string
  253. {
  254. return "home/solicitar.html.twig";
  255. }
  256. /**
  257. * @codeCoverageIgnore
  258. */
  259. public function isTraitable(): bool
  260. {
  261. return false;
  262. }
  263. /**
  264. * @codeCoverageIgnore
  265. */
  266. public function getDebugInfo(): array
  267. {
  268. 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,);
  269. }
  270. public function getSourceContext(): Source
  271. {
  272. return new Source("", "home/solicitar.html.twig", "/var/www/dvpr/templates/home/solicitar.html.twig");
  273. }
  274. }