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

/* pages/admin/helpdesk_home_config_edit_tile_form.html.twig */
class __TwigTemplate_dbed845df8172469a2f7611b4490e504 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 "
<section class=\"container-narrow\" aria-labelledby=\"edit-tile-header\">
    <form>
        ";
        // line 35
        yield Twig\Extension\CoreExtension::include($this->env, $context, CoreExtension::getAttribute($this->env, $this->source, ($context["tile"] ?? null), "getConfigFieldsTemplate", [], "method", false, false, false, 35), ["tile" => ($context["tile"] ?? null)], false);
        yield "

        <input name=\"id\" type=\"hidden\" value=\"";
        // line 37
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["tile"] ?? null), "getDatabaseId", [], "method", false, false, false, 37), "html", null, true);
        yield "\">
        <input name=\"_itemtype\" type=\"hidden\" value=\"";
        // line 38
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(get_class(($context["tile"] ?? null)), "html", null, true);
        yield "\">
        <input type=\"hidden\" name=\"_glpi_csrf_token\" value=\"";
        // line 39
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Session::getNewCSRFToken(), "html", null, true);
        yield "\" />

        <div class=\"d-flex mt-4 mb-3\">
            <button
                type=\"button\"
                class=\"btn btn-outline-danger ms-auto w-auto d-flex align-items-center\"
                data-glpi-helpdesk-config-action-delete
                data-glpi-helpdesk-config-action-delete-id=\"";
        // line 46
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["tile"] ?? null), "getDatabaseId", [], "method", false, false, false, 46), "html", null, true);
        yield "\"
                data-glpi-helpdesk-config-action-delete-itemtype=\"";
        // line 47
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(get_class(($context["tile"] ?? null)), "html", null, true);
        yield "\"
            >
                <i
                    class=\"ti ti-trash me-1\"
                    data-glpi-helpdesk-config-delete-tile-icon
                ></i>
                <i
                    class=\"ti ti-loader-2 fa-spin me-1 d-none\"
                    data-glpi-helpdesk-config-delete-tile-spinner-icon
                ></i>
                <span>";
        // line 57
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Delete tile"), "html", null, true);
        yield "<span>
            </button>
            <button
                type=\"button\"
                class=\"btn btn-primary ms-2 w-auto d-flex align-items-center\"
                data-glpi-helpdesk-config-edit-tile-save
            >
                <i
                    class=\"ti ti-device-floppy me-1\"
                    data-glpi-helpdesk-config-edit-tile-save-icon
                ></i>
                <i
                    class=\"ti ti-loader-2 fa-spin me-1 d-none\"
                    data-glpi-helpdesk-config-edit-tile-save-spinner-icon
                ></i>
                <span>";
        // line 72
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Save changes"), "html", null, true);
        yield "</span>
            </button>
        </div>
    </form>
</section>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "pages/admin/helpdesk_home_config_edit_tile_form.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  105 => 72,  87 => 57,  74 => 47,  70 => 46,  60 => 39,  56 => 38,  52 => 37,  47 => 35,  42 => 32,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "pages/admin/helpdesk_home_config_edit_tile_form.html.twig", "/home/tisoluci/public_html/crpamplona/templates/pages/admin/helpdesk_home_config_edit_tile_form.html.twig");
    }
}
