<?php

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

/* components/form/header_content.html.twig */
class __TwigTemplate_b33ac582feaa1ee79001c8cb0d829d05 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

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

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

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 32
        yield "
";
        // line 33
        $context["canedit"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["params"] ?? null), "canedit", [], "array", true, true, false, 33) &&  !(null === (($_v0 = ($context["params"] ?? null)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0["canedit"] ?? null) : null)))) ? ((($_v1 = ($context["params"] ?? null)) && is_array($_v1) || $_v1 instanceof ArrayAccess ? ($_v1["canedit"] ?? null) : null)) : (true));
        // line 34
        $context["withtemplate"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["params"] ?? null), "withtemplate", [], "array", true, true, false, 34) &&  !(null === (($_v2 = ($context["params"] ?? null)) && is_array($_v2) || $_v2 instanceof ArrayAccess ? ($_v2["withtemplate"] ?? null) : null)))) ? ((($_v3 = ($context["params"] ?? null)) && is_array($_v3) || $_v3 instanceof ArrayAccess ? ($_v3["withtemplate"] ?? null) : null)) : (""));
        // line 35
        $context["rand"] = ((array_key_exists("rand", $context)) ? (Twig\Extension\CoreExtension::default(($context["rand"] ?? null), Twig\Extension\CoreExtension::random($this->env->getCharset()))) : (Twig\Extension\CoreExtension::random($this->env->getCharset())));
        // line 36
        $context["nametype"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["params"] ?? null), "formtitle", [], "array", true, true, false, 36) &&  !(null === (($_v4 = ($context["params"] ?? null)) && is_array($_v4) || $_v4 instanceof ArrayAccess ? ($_v4["formtitle"] ?? null) : null)))) ? ((($_v5 = ($context["params"] ?? null)) && is_array($_v5) || $_v5 instanceof ArrayAccess ? ($_v5["formtitle"] ?? null) : null)) : (CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getTypeName", [1], "method", false, false, false, 36)));
        // line 37
        $context["friendlyname"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["params"] ?? null), "friendlyname", [], "array", true, true, false, 37) &&  !(null === (($_v6 = ($context["params"] ?? null)) && is_array($_v6) || $_v6 instanceof ArrayAccess ? ($_v6["friendlyname"] ?? null) : null)))) ? ((($_v7 = ($context["params"] ?? null)) && is_array($_v7) || $_v7 instanceof ArrayAccess ? ($_v7["friendlyname"] ?? null) : null)) : (CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getHeaderName", [], "method", false, false, false, 37)));
        // line 38
        $context["id"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, true, false, 38), "id", [], "array", true, true, false, 38) &&  !(null === (($_v8 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 38)) && is_array($_v8) || $_v8 instanceof ArrayAccess ? ($_v8["id"] ?? null) : null)))) ? ((($_v9 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 38)) && is_array($_v9) || $_v9 instanceof ArrayAccess ? ($_v9["id"] ?? null) : null)) : ( -1));
        // line 39
        $context["in_navheader"] = ((array_key_exists("in_navheader", $context)) ? (Twig\Extension\CoreExtension::default(($context["in_navheader"] ?? null), false)) : (false));
        // line 40
        yield "
";
        // line 41
        $context["entity_name"] = ((array_key_exists("entity_name", $context)) ? (Twig\Extension\CoreExtension::default(($context["entity_name"] ?? null), "")) : (""));
        // line 42
        if (( !array_key_exists("entity_id", $context) && CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isEntityAssign", [], "method", false, false, false, 42))) {
            // line 43
            yield "   ";
            if (((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 43) == "Entity") && ((($_v10 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 43)) && is_array($_v10) || $_v10 instanceof ArrayAccess ? ($_v10["id"] ?? null) : null) == 0))) {
                // line 44
                yield "      ";
                $context["entity_id"] = null;
                // line 45
                yield "   ";
            } else {
                // line 46
                yield "      ";
                $context["entity_id"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["params"] ?? null), "entities_id", [], "array", true, true, false, 46) &&  !(null === (($_v11 = ($context["params"] ?? null)) && is_array($_v11) || $_v11 instanceof ArrayAccess ? ($_v11["entities_id"] ?? null) : null)))) ? ((($_v12 = ($context["params"] ?? null)) && is_array($_v12) || $_v12 instanceof ArrayAccess ? ($_v12["entities_id"] ?? null) : null)) : ((((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getEntityID", [], "method", true, true, false, 46) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getEntityID", [], "method", false, false, false, 46)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getEntityID", [], "method", false, false, false, 46)) : ($this->extensions['Glpi\Application\View\Extension\SessionExtension']->session("glpiactive_entity")))));
                // line 47
                yield "   ";
            }
            // line 48
            yield "
   ";
            // line 49
            if ((($tmp = Session::isMultiEntitiesMode()) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 50
                yield "      ";
                $context["entity_name"] = $this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemName("Entity", CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getEntityID", [], "method", false, false, false, 50));
                // line 51
                yield "   ";
            }
        } elseif ((($tmp =  !        // line 52
array_key_exists("entity_id", $context)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 53
            yield "   ";
            $context["entity_id"] = 0;
        }
        // line 55
        yield "
";
        // line 56
        $context["template_name"] = $this->extensions['Glpi\Application\View\Extension\DataHelpersExtension']->getVerbatimValue((($_v13 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 56)) && is_array($_v13) || $_v13 instanceof ArrayAccess ? ($_v13["template_name"] ?? null) : null));
        // line 57
        if (((($context["withtemplate"] ?? null) == 2) &&  !CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 57))) {
            // line 58
            yield "   <input type=\"hidden\" name=\"template_name\" value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["template_name"] ?? null), "html", null, true);
            yield "\" />
   ";
            // line 59
            $context["nametype"] = Twig\Extension\CoreExtension::sprintf(__("Created from the template %s"), ($context["template_name"] ?? null));
        } elseif ((        // line 60
($context["withtemplate"] ?? null) == 1)) {
            // line 61
            yield "   <input type=\"hidden\" name=\"is_template\" value=\"1\" />
";
        } elseif ((($tmp = CoreExtension::getAttribute($this->env, $this->source,         // line 62
($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 62)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 63
            yield "   ";
            $context["nametype"] = Twig\Extension\CoreExtension::sprintf(__("%1\$s - %2\$s"), __("New item"), ($context["nametype"] ?? null));
        } else {
            // line 65
            yield "   ";
            if (((($context["noid"] ?? null) == false) && ($this->extensions['Glpi\Application\View\Extension\SessionExtension']->session("glpiis_ids_visible") || (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["nametype"] ?? null)) == 0)))) {
                // line 66
                yield "      ";
                $context["nametype"] = Twig\Extension\CoreExtension::sprintf(__("%1\$s - %2\$s"), ($context["nametype"] ?? null), (($_v14 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 66)) && is_array($_v14) || $_v14 instanceof ArrayAccess ? ($_v14["id"] ?? null) : null));
                // line 67
                yield "   ";
            }
        }
        // line 69
        yield "
";
        // line 70
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "canEdit", [(($_v15 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 70)) && is_array($_v15) || $_v15 instanceof ArrayAccess ? ($_v15["id"] ?? null) : null)], "method", false, false, false, 70)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 71
            yield "   <form name=\"massaction_";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
            yield "\" id=\"massaction_";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
            yield "\" method=\"post\"
         action=\"";
            // line 72
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\RoutingExtension']->path("/front/massiveaction.php"), "html", null, true);
            yield "\" data-submit-once>
      <div id=\"massive_container_";
            // line 73
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
            yield "\"></div>
      <input type=\"hidden\" name=\"_glpi_csrf_token\" value=\"";
            // line 74
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Session::getNewCSRFToken(), "html", null, true);
            yield "\" />
   </form>
";
        }
        // line 77
        yield "
<div id=\"header_";
        // line 78
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
        yield "\"
     class=\"card-header main-header d-flex flex-wrap mx-n2 mt-n2 align-items-stretch ";
        // line 79
        if ((($tmp = ($context["in_navheader"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            yield " align-self-end ";
        }
        yield " flex-grow-1\">
   ";
        // line 80
        if (((($context["withtemplate"] ?? null) == 1) && CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 80))) {
            // line 81
            yield "      <input type=\"text\" class=\"form-control ms-4 mb-2\" placeholder=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Template name"), "html", null, true);
            yield "\"
             name=\"template_name\" id=\"textfield_template_name";
            // line 82
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
            yield "\"
             value=\"";
            // line 83
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["template_name"] ?? null), "html", null, true);
            yield "\" />
   ";
        }
        // line 85
        yield "   <h3 class=\"card-title d-flex align-items-center ";
        yield (((($tmp = ($context["in_navheader"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("ps-5") : ("ps-4"));
        yield "\">
      ";
        // line 86
        $context["icon"] = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getIcon", [], "method", false, false, false, 86);
        // line 87
        yield "      ";
        if (( !($context["in_navheader"] ?? null) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["icon"] ?? null)) > 0))) {
            // line 88
            yield "         <div class=\"ribbon ribbon-bookmark ribbon-top ribbon-start bg-blue s-1\">
            <i class=\"";
            // line 89
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["icon"] ?? null), "html", null, true);
            yield " fa-2x\"></i>
         </div>
      ";
        }
        // line 92
        yield "      <span ";
        if ((($tmp = ($context["in_navheader"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            yield " class=\"status rounded-1\" ";
        }
        yield ">
         ";
        // line 93
        if ((($tmp = ($context["in_navheader"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 94
            yield "            <i class=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["icon"] ?? null), "html", null, true);
            yield "\"></i>
         ";
        }
        // line 96
        yield "         ";
        if (((($context["withtemplate"] ?? null) == 1) && (CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "id", [], "any", false, false, false, 96) > 0))) {
            // line 97
            yield "            ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_n("Template", "Templates", 1), "html", null, true);
            yield " - ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nametype"] ?? null), "html", null, true);
            yield " - ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["template_name"] ?? null), "html", null, true);
            yield "
         ";
        } elseif ((($tmp =  !CoreExtension::getAttribute($this->env, $this->source,         // line 98
($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 98)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 99
            yield "            ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nametype"] ?? null), "html", null, true);
            yield " - ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["friendlyname"] ?? null), "html", null, true);
            yield "
         ";
        } else {
            // line 101
            yield "            ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nametype"] ?? null), "html", null, true);
            yield "
         ";
        }
        // line 103
        yield "      </span>
      ";
        // line 104
        if (((($context["in_navheader"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", ["is_dynamic"], "method", false, false, false, 104)) && (($_v16 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 104)) && is_array($_v16) || $_v16 instanceof ArrayAccess ? ($_v16["is_dynamic"] ?? null) : null))) {
            // line 105
            yield "      <span class=\"mx-1 bg-secondary status rounded-1\" title=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Automatic Inventory"), "html", null, true);
            yield "\" data-bs-toggle=\"tooltip\">
         <i class=\"";
            // line 106
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Agent::getIcon"), "html", null, true);
            yield "\"></i>
      </span>
      ";
        }
        // line 109
        yield "      ";
        if (((($context["in_navheader"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", ["is_deleted"], "method", false, false, false, 109)) && (($_v17 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 109)) && is_array($_v17) || $_v17 instanceof ArrayAccess ? ($_v17["is_deleted"] ?? null) : null))) {
            // line 110
            yield "      ";
            $context["title"] = (((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", ["date_mod"], "method", false, false, false, 110)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (Twig\Extension\CoreExtension::sprintf(__("Item has been deleted on %s"), (($_v18 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 110)) && is_array($_v18) || $_v18 instanceof ArrayAccess ? ($_v18["date_mod"] ?? null) : null))) : (__("Deleted")));
            // line 111
            yield "      <span class=\"mx-1 bg-danger status rounded-1\" title=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true);
            yield "\" data-bs-toggle=\"tooltip\">
         <i class=\"ti ti-trash\"></i>
         ";
            // line 113
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Deleted"), "html", null, true);
            yield "
      </span>
      ";
        }
        // line 116
        yield "
      ";
        // line 117
        if ((($tmp = ($context["header_toolbar"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 118
            yield "         <div class=\"d-inline-block toolbar ms-2\">
            ";
            // line 119
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["header_toolbar"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["raw_element"]) {
                // line 120
                yield "               ";
                yield $context["raw_element"];
                yield "
            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['raw_element'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 122
            yield "         </div>
      ";
        }
        // line 124
        yield "   </h3>

   ";
        // line 126
        $context["single_actions_ms_auto"] = true;
        // line 127
        yield "   ";
        if (((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isEntityAssign", [], "method", false, false, false, 127) && Session::isMultiEntitiesMode()) &&  !$this->extensions['Glpi\Application\View\Extension\PhpExtension']->isInstanceOf(($context["item"] ?? null), "Entity"))) {
            // line 128
            yield "      ";
            $context["single_actions_ms_auto"] = false;
            // line 129
            yield "      <span class=\"badge entity-name mx-1 px-2 ms-auto align-items-center\" title=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["entity_name"] ?? null), "html", null, true);
            yield "\">
                  <i class=\"ti ti-stack me-2\"></i>
                  ";
            // line 131
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["entity_name"] ?? null), "html", null, true);
            yield "
               </span>

      ";
            // line 134
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "maybeRecursive", [], "method", false, false, false, 134)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 135
                yield "         <span class=\"badge is_recursive-toggle mx-1 px-2 align-items-center\">
            <label class=\"form-check d-flex align-items-center mb-0\">
               ";
                // line 137
                $context["disabled"] = (($context["canedit"] ?? null) == false);
                // line 138
                yield "               ";
                $context["comment"] = __("Change visibility in child entities.");
                // line 139
                yield "
               ";
                // line 140
                if ($this->extensions['Glpi\Application\View\Extension\PhpExtension']->isInstanceOf(($context["item"] ?? null), "CommonDBChild")) {
                    // line 141
                    yield "                  ";
                    $context["comment"] = __("Can՛t change this attribute. It՛s inherited from its parent.");
                    // line 142
                    yield "                  ";
                    $context["disabled"] = true;
                    // line 143
                    yield "               ";
                } elseif ((($tmp =  !CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "can", [($context["id"] ?? null), "recursive"], "method", false, false, false, 143)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 144
                    yield "                  ";
                    $context["comment"] = __("You are not allowed to change the visibility flag for child entities.");
                    // line 145
                    yield "                  ";
                    $context["disabled"] = true;
                    // line 146
                    yield "               ";
                } elseif ((($tmp =  !CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "canUnrecurs", [], "method", false, false, false, 146)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 147
                    yield "                  ";
                    $context["comment"] = __("Flag change forbidden. Linked items found.");
                    // line 148
                    yield "                  ";
                    $context["disabled"] = true;
                    // line 149
                    yield "               ";
                }
                // line 150
                yield "
               ";
                // line 151
                if ((($tmp =  !($context["disabled"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    yield "<input type=\"hidden\" name=\"is_recursive\" value=\"0\" />";
                }
                // line 152
                yield "               <input class=\"form-check-input\" type=\"checkbox\" name=\"is_recursive\" value=\"1\"
                  ";
                // line 153
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isRecursive", [], "method", false, false, false, 153)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    yield "checked=\"checked\"";
                }
                // line 154
                yield "                  ";
                if ((($tmp = ($context["disabled"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    yield "disabled=\"disabled\"";
                }
                yield " />
               ";
                // line 155
                if ((($this->extensions['Glpi\Application\View\Extension\PhpExtension']->isInstanceOf(($context["item"] ?? null), "CommonDBChild") && CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 155)) && CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isRecursive", [], "method", false, false, false, 155))) {
                    // line 156
                    yield "                  ";
                    // line 157
                    yield "                  <input type=\"hidden\" name=\"is_recursive\" value=\"1\" />
               ";
                }
                // line 159
                yield "               <span class=\"form-check-label mb-0 mx-2\">
                  ";
                // line 160
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Child entities"), "html", null, true);
                yield "
                  <i class=\"fas fa-info ms-1\" title=\"";
                // line 161
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comment"] ?? null), "html", null, true);
                yield "\"></i>
               </span>
            </label>
         </span>
      ";
            }
            // line 166
            yield "   ";
        }
        // line 167
        yield "
   ";
        // line 168
        yield Twig\Extension\CoreExtension::include($this->env, $context, "components/form/single-action.html.twig");
        yield "

   ";
        // line 170
        if ((($tmp =  !array_key_exists("inside_main", $context)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 171
            yield "      <script>
         \$(\"#header_";
            // line 172
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
            yield " input[name=\x27is_recursive\x27]\").on(\x27change\x27, function(e) {
             const asset_form = \$(\"form[name=\x27asset_form\x27]\");
             // If asset form has an is_recursive checkbox, we need set the value to the one in the header
             if (asset_form.length) {
                 const chk = asset_form.find(\"input[name=\x27is_recursive\x27]\");
                 if (chk.length) {
                     chk.val(e.target.checked ? 1 : 0);
                 }
             }
         });
      </script>
   ";
        }
        // line 184
        yield "</div>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "components/form/header_content.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  451 => 184,  436 => 172,  433 => 171,  431 => 170,  426 => 168,  423 => 167,  420 => 166,  412 => 161,  408 => 160,  405 => 159,  401 => 157,  399 => 156,  397 => 155,  390 => 154,  386 => 153,  383 => 152,  379 => 151,  376 => 150,  373 => 149,  370 => 148,  367 => 147,  364 => 146,  361 => 145,  358 => 144,  355 => 143,  352 => 142,  349 => 141,  347 => 140,  344 => 139,  341 => 138,  339 => 137,  335 => 135,  333 => 134,  327 => 131,  321 => 129,  318 => 128,  315 => 127,  313 => 126,  309 => 124,  305 => 122,  296 => 120,  292 => 119,  289 => 118,  287 => 117,  284 => 116,  278 => 113,  272 => 111,  269 => 110,  266 => 109,  260 => 106,  255 => 105,  253 => 104,  250 => 103,  244 => 101,  236 => 99,  234 => 98,  225 => 97,  222 => 96,  216 => 94,  214 => 93,  207 => 92,  201 => 89,  198 => 88,  195 => 87,  193 => 86,  188 => 85,  183 => 83,  179 => 82,  174 => 81,  172 => 80,  166 => 79,  162 => 78,  159 => 77,  153 => 74,  149 => 73,  145 => 72,  138 => 71,  136 => 70,  133 => 69,  129 => 67,  126 => 66,  123 => 65,  119 => 63,  117 => 62,  114 => 61,  112 => 60,  110 => 59,  105 => 58,  103 => 57,  101 => 56,  98 => 55,  94 => 53,  92 => 52,  89 => 51,  86 => 50,  84 => 49,  81 => 48,  78 => 47,  75 => 46,  72 => 45,  69 => 44,  66 => 43,  64 => 42,  62 => 41,  59 => 40,  57 => 39,  55 => 38,  53 => 37,  51 => 36,  49 => 35,  47 => 34,  45 => 33,  42 => 32,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "components/form/header_content.html.twig", "C:\\xampp\\htdocs\\itsm\\templates\\components\\form\\header_content.html.twig");
    }
}
