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

/* tchat/_list_utilisateurs_groupe.html.twig */
class __TwigTemplate_4c47829ee23ceb1c169b0cb00d3ef2866ae3e530eb63ab46a4184fa9024f6e2a 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", "tchat/_list_utilisateurs_groupe.html.twig"));

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

        // line 1
        yield "<form class=\"form-inline form-ajax\" style=\"padding: 10px 20px 0 20px;\" action=\"";
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("tchat_groupe_utilisateur_post");
        yield "\" data-callback=\"addUserToGroupe\" data-turbo=\"false\" method=\"post\">
    <div class=\"mb-3 row\">
        <label for=\"titre_filtre\" class=\"col-sm-3 col-form-label\"><b>Utilisateur</b></label>
        <div class=\"col-sm-9\">
            <select class=\"form-control\" name=\"utilisateur\">
                ";
        // line 6
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["users"]) || array_key_exists("users", $context) ? $context["users"] : (function () { throw new RuntimeError('Variable "users" does not exist.', 6, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
            // line 7
            yield "                    <option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["user"], "id", [], "any", false, false, false, 7), "html", null, true);
            yield "\">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["user"], "nomComplet", [], "any", false, false, false, 7), "html", null, true);
            yield "</option>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 9
        yield "            </select>
            <input type=\"hidden\" name=\"groupe\"  value=\"";
        // line 10
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupe"]) || array_key_exists("groupe", $context) ? $context["groupe"] : (function () { throw new RuntimeError('Variable "groupe" does not exist.', 10, $this->source); })()), "id", [], "any", false, false, false, 10), "html", null, true);
        yield "\">
        </div>
    </div>
    <div class=\"form-group d-flex justify-content-center my-2\">
        <div class=\"form-actions-row d-flex\">
            <button  id=\"submit-add-user-group\" class=\"btn btn-success me-3\">Valider</button>
            <button  class=\"btn btn-danger btn-close-popup \" data-dxpopup-id=\"popup-tchat-list-utilisateur\">Annuler</button>
        </div>
    </div>
</form>";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  71 => 10,  68 => 9,  57 => 7,  53 => 6,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<form class=\"form-inline form-ajax\" style=\"padding: 10px 20px 0 20px;\" action=\"{{ path('tchat_groupe_utilisateur_post') }}\" data-callback=\"addUserToGroupe\" data-turbo=\"false\" method=\"post\">
    <div class=\"mb-3 row\">
        <label for=\"titre_filtre\" class=\"col-sm-3 col-form-label\"><b>Utilisateur</b></label>
        <div class=\"col-sm-9\">
            <select class=\"form-control\" name=\"utilisateur\">
                {% for user in users %}
                    <option value=\"{{ user.id }}\">{{ user.nomComplet }}</option>
                {% endfor %}
            </select>
            <input type=\"hidden\" name=\"groupe\"  value=\"{{ groupe.id }}\">
        </div>
    </div>
    <div class=\"form-group d-flex justify-content-center my-2\">
        <div class=\"form-actions-row d-flex\">
            <button  id=\"submit-add-user-group\" class=\"btn btn-success me-3\">Valider</button>
            <button  class=\"btn btn-danger btn-close-popup \" data-dxpopup-id=\"popup-tchat-list-utilisateur\">Annuler</button>
        </div>
    </div>
</form>", "tchat/_list_utilisateurs_groupe.html.twig", "/builds/dev/refonte_sav/templates/tchat/_list_utilisateurs_groupe.html.twig");
    }
}
