var/cache/dev/twig/fc/fcbca7a8c97eea121ec56b40e8faea18.php line 55

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\Sandbox\SecurityNotAllowedTestError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. use Twig\TemplateWrapper;
  16. /* death_certificate/edit.html.twig */
  17. class __TwigTemplate_6a2a01441e7b64266a348c250e07efc4 extends Template
  18. {
  19. private Source $source;
  20. /**
  21. * @var array<string, Template>
  22. */
  23. private array $macros = [];
  24. public function __construct(Environment $env)
  25. {
  26. parent::__construct($env);
  27. $this->source = $this->getSourceContext();
  28. $this->blocks = [
  29. 'title' => [$this, 'block_title'],
  30. 'body' => [$this, 'block_body'],
  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", "death_certificate/edit.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "death_certificate/edit.html.twig"));
  45. $this->parent = $this->load("base.html.twig", 1);
  46. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49. }
  50. // line 3
  51. /**
  52. * @return iterable<null|scalar|\Stringable>
  53. */
  54. public function block_title(array $context, array $blocks = []): iterable
  55. {
  56. $macros = $this->macros;
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  61. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Edit DeathCertificate", [], "messages");
  62. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64. yield from [];
  65. }
  66. // line 5
  67. /**
  68. * @return iterable<null|scalar|\Stringable>
  69. */
  70. public function block_body(array $context, array $blocks = []): iterable
  71. {
  72. $macros = $this->macros;
  73. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  75. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  77. // line 6
  78. yield " <h1>";
  79. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Edit DeathCertificate", [], "messages");
  80. yield "</h1>
  81. ";
  82. // line 8
  83. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "death_certificate/_form.html.twig", ["button_label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Update")]);
  84. yield "
  85. <a href=\"";
  86. // line 10
  87. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("death_certificate_index");
  88. yield "\">";
  89. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("back to list", [], "messages");
  90. yield "</a>
  91. ";
  92. // line 12
  93. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "death_certificate/_delete_form.html.twig");
  94. yield "
  95. ";
  96. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98. yield from [];
  99. }
  100. /**
  101. * @codeCoverageIgnore
  102. */
  103. public function getTemplateName(): string
  104. {
  105. return "death_certificate/edit.html.twig";
  106. }
  107. /**
  108. * @codeCoverageIgnore
  109. */
  110. public function isTraitable(): bool
  111. {
  112. return false;
  113. }
  114. /**
  115. * @codeCoverageIgnore
  116. */
  117. public function getDebugInfo(): array
  118. {
  119. return array ( 119 => 12, 112 => 10, 107 => 8, 101 => 6, 88 => 5, 65 => 3, 42 => 1,);
  120. }
  121. public function getSourceContext(): Source
  122. {
  123. return new Source("{% extends \x27base.html.twig\x27 %}
  124. {% block title %}{% trans%}Edit DeathCertificate{% endtrans %}{% endblock %}
  125. {% block body %}
  126. <h1>{% trans %}Edit DeathCertificate{% endtrans %}</h1>
  127. {{ include(\x27death_certificate/_form.html.twig\x27, {\x27button_label\x27: \x27Update\x27|trans}) }}
  128. <a href=\"{{ path(\x27death_certificate_index\x27) }}\">{% trans %}back to list{% endtrans %}</a>
  129. {{ include(\x27death_certificate/_delete_form.html.twig\x27) }}
  130. {% endblock %}
  131. ", "death_certificate/edit.html.twig", "/var/www/vhosts/habitechsolutions.cm/birth.habitechsolutions.cm/templates/death_certificate/edit.html.twig");
  132. }
  133. }