<?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;

/* team/edit.html.twig */
class __TwigTemplate_aa426443f6ef7b6783cb979e98db04ac741c2c1f9a0e32973377485a9fda86e8 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'],
            'main' => [$this, 'block_main'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "base.html.twig";
    }

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

    // line 5
    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("teams.title", [], "teams"), "html", null, true);
    }

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

    // line 8
    public function block_main($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 9
        echo "<div class=\"row\">
    <div class=\"col-md-6\">
        ";
        // line 11
        echo twig_include($this->env, $context, "default/_form.html.twig", ["title" => ((twig_get_attribute($this->env, $this->source,         // line 12
($context["team"] ?? null), "name", [], "any", true, true, false, 12)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["team"] ?? null), "name", [], "any", false, false, false, 12), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("create"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("create"))), "form" =>         // line 13
($context["form"] ?? null), "back" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_team")]);
        // line 15
        echo "
    </div>
    <div class=\"col-md-6\">
        ";
        // line 18
        if ( !(null === ($context["customerForm"] ?? null))) {
            // line 19
            echo "        ";
            echo twig_include($this->env, $context, "default/_form.html.twig", ["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("teams.customer_access", [], "teams"), "form" =>             // line 21
($context["customerForm"] ?? null)]);
            // line 22
            echo "
        ";
        }
        // line 24
        echo "        
        ";
        // line 25
        if ( !(null === ($context["projectForm"] ?? null))) {
            // line 26
            echo "        ";
            echo twig_include($this->env, $context, "default/_form.html.twig", ["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("teams.project_access", [], "teams"), "form" =>             // line 28
($context["projectForm"] ?? null)]);
            // line 29
            echo "
        ";
        }
        // line 31
        echo "    </div>
</div>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  107 => 31,  103 => 29,  101 => 28,  99 => 26,  97 => 25,  94 => 24,  90 => 22,  88 => 21,  86 => 19,  84 => 18,  79 => 15,  77 => 13,  76 => 12,  75 => 11,  71 => 9,  67 => 8,  60 => 6,  53 => 5,  48 => 1,  46 => 3,  44 => 2,  37 => 1,);
    }

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