var/cache/dev/twig/35/353a8cb20675156613ecf91a1deae77b.php line 56

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. /* /errors/base.html.twig */
  16. class __TwigTemplate_a300ba8daa15a04b00c160b5922856ff 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. 'stylesheets' => [$this, 'block_stylesheets'],
  29. 'main_content' => [$this, 'block_main_content'],
  30. 'errors_alert' => [$this, 'block_errors_alert'],
  31. 'errors_main_content' => [$this, 'block_errors_main_content'],
  32. ];
  33. }
  34. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35. {
  36. // line 1
  37. return "/base.html.twig";
  38. }
  39. protected function doDisplay(array $context, array $blocks = []): iterable
  40. {
  41. $macros = $this->macros;
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/errors/base.html.twig"));
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/errors/base.html.twig"));
  46. $this->parent = $this->load("/base.html.twig", 1);
  47. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50. }
  51. // line 3
  52. /**
  53. * @return iterable<null|scalar|\Stringable>
  54. */
  55. public function block_stylesheets(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", "stylesheets"));
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  62. // line 4
  63. yield " ";
  64. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  65. yield "
  66. <link rel=\"stylesheet\" href=\"";
  67. // line 5
  68. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/generated/living_styleguide.css"), "html", null, true);
  69. yield "\">
  70. ";
  71. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73. yield from [];
  74. }
  75. // line 8
  76. /**
  77. * @return iterable<null|scalar|\Stringable>
  78. */
  79. public function block_main_content(array $context, array $blocks = []): iterable
  80. {
  81. $macros = $this->macros;
  82. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  84. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  86. // line 9
  87. yield "<div class=\"jlls-page-container\">
  88. <div id=\"errors-alert\" class=\"jlls-alert jlls-alert-danger tw-mb-6\">
  89. <div class=\"jlls-alert-body jlls-alert-body-danger\">
  90. ";
  91. // line 13
  92. yield from $this->unwrap()->yieldBlock('errors_alert', $context, $blocks);
  93. // line 14
  94. yield " </div>
  95. </div>
  96. <div class=\"jlls-card\">
  97. <div class=\"tw-p-6\">
  98. ";
  99. // line 19
  100. yield from $this->unwrap()->yieldBlock('errors_main_content', $context, $blocks);
  101. // line 20
  102. yield " </div>
  103. </div>
  104. </div>
  105. ";
  106. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108. yield from [];
  109. }
  110. // line 13
  111. /**
  112. * @return iterable<null|scalar|\Stringable>
  113. */
  114. public function block_errors_alert(array $context, array $blocks = []): iterable
  115. {
  116. $macros = $this->macros;
  117. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  118. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "errors_alert"));
  119. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  120. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "errors_alert"));
  121. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123. yield from [];
  124. }
  125. // line 19
  126. /**
  127. * @return iterable<null|scalar|\Stringable>
  128. */
  129. public function block_errors_main_content(array $context, array $blocks = []): iterable
  130. {
  131. $macros = $this->macros;
  132. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "errors_main_content"));
  134. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "errors_main_content"));
  136. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  137. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  138. yield from [];
  139. }
  140. /**
  141. * @codeCoverageIgnore
  142. */
  143. public function getTemplateName(): string
  144. {
  145. return "/errors/base.html.twig";
  146. }
  147. /**
  148. * @codeCoverageIgnore
  149. */
  150. public function isTraitable(): bool
  151. {
  152. return false;
  153. }
  154. /**
  155. * @codeCoverageIgnore
  156. */
  157. public function getDebugInfo(): array
  158. {
  159. return array ( 164 => 19, 142 => 13, 127 => 20, 125 => 19, 118 => 14, 116 => 13, 110 => 9, 97 => 8, 84 => 5, 79 => 4, 66 => 3, 43 => 1,);
  160. }
  161. public function getSourceContext(): Source
  162. {
  163. return new Source("{% extends '/base.html.twig' %}
  164. {% block stylesheets %}
  165. {{ parent() }}
  166. <link rel=\"stylesheet\" href=\"{{ asset('assets/generated/living_styleguide.css') }}\">
  167. {% endblock %}
  168. {% block main_content %}
  169. <div class=\"jlls-page-container\">
  170. <div id=\"errors-alert\" class=\"jlls-alert jlls-alert-danger tw-mb-6\">
  171. <div class=\"jlls-alert-body jlls-alert-body-danger\">
  172. {% block errors_alert %}{% endblock %}
  173. </div>
  174. </div>
  175. <div class=\"jlls-card\">
  176. <div class=\"tw-p-6\">
  177. {% block errors_main_content %}{% endblock %}
  178. </div>
  179. </div>
  180. </div>
  181. {% endblock %}
  182. ", "/errors/base.html.twig", "/workspace/backend-app/templates/errors/base.html.twig");
  183. }
  184. }