<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* timesheet/edit.html.twig */
class __TwigTemplate_e47cddcd9e8cdef03dc76fbfe223e4053386f02c17008a867e26ed67893a9f3f extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'page_title' => [$this, 'block_page_title'],
            'page_actions' => [$this, 'block_page_actions'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "timesheet/layout-edit.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        $macros["actions"] = $this->macros["actions"] = $this->loadTemplate("timesheet/actions.html.twig", "timesheet/edit.html.twig", 2)->unwrap();
        // line 7
        $context["route_back"] = "timesheet";
        // line 1
        $this->parent = $this->loadTemplate("timesheet/layout-edit.html.twig", "timesheet/edit.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 4
    public function block_page_title($context, array $blocks = [])
    {
        $macros = $this->macros;
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("timesheet.title"), "html", null, true);
    }

    // line 5
    public function block_page_actions($context, array $blocks = [])
    {
        $macros = $this->macros;
        echo twig_call_macro($macros["actions"], "macro_timesheet", [($context["timesheet"] ?? null), "edit"], 5, $context, $this->getSourceContext());
    }

    public function getTemplateName()
    {
        return "timesheet/edit.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  59 => 5,  52 => 4,  47 => 1,  45 => 7,  43 => 2,  36 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "timesheet/edit.html.twig", "/var/www/html/kimai2/templates/timesheet/edit.html.twig");
    }
}
