<?php

/* FOSUserBundle:Group:edit_content.html.twig */
class __TwigTemplate_a5433cf3d091bf9eb5c75bded1c79b5f4813725997ecfe4c49bb2017087f56c6 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 2
        echo "
<div class=\"container fos_user_group_list\"
     style=\"margin-top: 2.5vmin;\">

    <div class=\"container-fluid\"
         style=\"padding: 0px;\">
        ";
        // line 8
        $this->env->getExtension('form')->renderer->setTheme((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), array(0 => $this));
        // line 9
        echo "        <form id=\"edit-group-form\"
              action=\"";
        // line 10
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fos_user_group_edit", array("groupName" => (isset($context["group_name"]) ? $context["group_name"] : $this->getContext($context, "group_name")))), "html", null, true);
        echo "\" ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'enctype');
        echo "
              method=\"POST\" class=\"fos_user_group_edit\">
            <div class=\"container-fluid\">
                <div class=\"col-lg-5\"><label class=\"form-label\">Group name:</label>
                    ";
        // line 14
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "name", array()), 'widget', array("attr" => array("tabindex" => 1, "class" => "form-control", "placeholder" => "Group Name")));
        // line 17
        echo "
                </div>
                <div class=\"col-xs-1\"></div>
                <div class=\"col-lg-6\">
                    ";
        // line 21
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "roles", array()));
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["choice"]) {
            // line 22
            echo "                        <div>";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($context["choice"], 'widget', array("attr" => array("tabindex" => ($this->getAttribute(            // line 23
$context["loop"], "index", array()) + 1))));
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($context["choice"], 'label');
            echo "</div>
                    ";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['choice'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 25
        echo "                    ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'rest');
        echo "
                </div>

            </div>
            <div class=\"col-lg-12 container-fluid text-right\">
                <button form=\"edit-group-form\" type=\"submit\" class=\"btn btn-primary\">
                    ";
        // line 31
        echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("group.edit.submit", array(), "FOSUserBundle"), "html", null, true);
        echo "
                </button>
                <a href=\"";
        // line 33
        echo $this->env->getExtension('routing')->getPath("fos_user_group_list");
        echo "\"
                   class=\"btn btn-warning\">
                    Cancel
                </a>
            </div>
        </form>
    </div>
</div>";
    }

    public function getTemplateName()
    {
        return "FOSUserBundle:Group:edit_content.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  100 => 33,  95 => 31,  85 => 25,  68 => 23,  66 => 22,  49 => 21,  43 => 17,  41 => 14,  32 => 10,  29 => 9,  27 => 8,  19 => 2,);
    }
}
