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

/* admin/actions_bottom.html.twig */
class __TwigTemplate_57fd9a56828deb45662d2ba55e6ab0741d1f55f356297e5525195db69a51d1f6 extends Template
{
    private $source;
    private $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 = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/actions_bottom.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/actions_bottom.html.twig"));

        // line 1
        yield "<div class=\"col-xs-12 form-actions \" style=\"position:relative; margin-top: 100px;\">
    <div class=\"col-xs-12 fixed-bottom bg-white pb-4\">
        <div class=\"form-group d-flex justify-content-center py-2 bg-primary\">
            <div id=\"form-actions-row\">
                ";
        // line 5
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["actions"]) || array_key_exists("actions", $context) ? $context["actions"] : (function () { throw new RuntimeError('Variable "actions" does not exist.', 5, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
            // line 6
            yield "                    ";
            $context["type"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "type", [], "any", true, true, false, 6)) ? (CoreExtension::getAttribute($this->env, $this->source, $context["action"], "type", [], "any", false, false, false, 6)) : ("a"));
            // line 7
            yield "                    <";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 7, $this->source); })()), "html", null, true);
            yield " id=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "id", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "id", [], "any", false, false, false, 7), "")) : ("")), "html", null, true);
            yield "\" class=\"btn btn-md btn-block ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "class", [], "any", false, false, false, 7), "html", null, true);
            yield " me-3\" data-popup-title=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "datapopuptitle", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "datapopuptitle", [], "any", false, false, false, 7), "")) : ("")), "html", null, true);
            yield "\" ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "data", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "data", [], "any", false, false, false, 7), "")) : ("")), "html", null, true);
            yield " href=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "href", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "href", [], "any", false, false, false, 7), "")) : ("")), "html", null, true);
            yield "\" data-confirm=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "confirm", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "confirm", [], "any", false, false, false, 7), false)) : (false)), "html", null, true);
            yield "\" type=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "type_att", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "type_att", [], "any", false, false, false, 7), "")) : ("")), "html", null, true);
            yield "\" form=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["action"], "form", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "form", [], "any", false, false, false, 7), "")) : ("")), "html", null, true);
            yield "\"><i class=\"fa ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "icon", [], "any", false, false, false, 7), "html", null, true);
            yield " me-2\"></i>";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "name", [], "any", false, false, false, 7), "html", null, true);
            yield "
                        ";
            // line 8
            if (CoreExtension::getAttribute($this->env, $this->source, $context["action"], "iconright", [], "any", true, true, false, 8)) {
                yield "  <i class=\"fa ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["action"], "iconright", [], "any", false, false, false, 8), "html", null, true);
                yield " ms-2\"></i> ";
            }
            // line 9
            yield "                    </";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 9, $this->source); })()), "html", null, true);
            yield ">
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 11
        yield "            </div>
        </div>
    </div>
</div>
";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "admin/actions_bottom.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  97 => 11,  88 => 9,  82 => 8,  57 => 7,  54 => 6,  50 => 5,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<div class=\"col-xs-12 form-actions \" style=\"position:relative; margin-top: 100px;\">
    <div class=\"col-xs-12 fixed-bottom bg-white pb-4\">
        <div class=\"form-group d-flex justify-content-center py-2 bg-primary\">
            <div id=\"form-actions-row\">
                {% for action in actions %}
                    {%  set type = action.type is defined ? action.type : 'a' %}
                    <{{ type }} id=\"{{ action.id|default('') }}\" class=\"btn btn-md btn-block {{ action.class }} me-3\" data-popup-title=\"{{  action.datapopuptitle|default('') }}\" {{ action.data|default('')}} href=\"{{ action.href|default('') }}\" data-confirm=\"{{ action.confirm|default(false) }}\" type=\"{{ action.type_att|default('') }}\" form=\"{{ action.form|default('') }}\"><i class=\"fa {{ action.icon }} me-2\"></i>{{ action.name}}
                        {% if action.iconright is defined %}  <i class=\"fa {{ action.iconright }} ms-2\"></i> {% endif %}
                    </{{ type }}>
                {% endfor %}
            </div>
        </div>
    </div>
</div>
", "admin/actions_bottom.html.twig", "/builds/dev/refonte_sav/templates/admin/actions_bottom.html.twig");
    }
}
