<?php

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

/* @App/TimeClock/administradores/index.html.twig */
class __TwigTemplate_216946efff178e882e03b7ea4c8b963b256e82f867c9e84520d00f39bc30b903 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("@App/Layouts/layout.html.twig", "@App/TimeClock/administradores/index.html.twig", 1);
        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context)
    {
        return "@App/Layouts/layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/TimeClock/administradores/index.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    // line 3
    public function block_content($context, array $blocks = [])
    {
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));

        // line 4
        echo "
    <style type=\"text/css\">
        #manager {
            background-color: #fff;
            max-width: 800px;
            margin: 40px auto 0;
            padding: 45px;
            color: #858b8e;
            box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2);
        }

        #manager h2 {
            padding-bottom: 20px;
            margin: 10px 20px;
            font-size: 24px;
        }

        #manager hr {
            margin-top: 38px;
            margin-bottom: 54px;
            margin-left: 3px;
            border: 1px solid #cccccc;
        }

        #manager .form-group {
            margin-bottom: 20px;
            margin-left: 20px;
            width: 30%;
            float: left;
            text-align: left;
        }

        #manager .form-control {
            padding: 12px 20px;
            height: auto;
            border-radius: 2px;
        }

        #manager {
            margin-left: 10px;
            margin-right: 10px;
        }

        #manager .gender {
            width: 30%;
            margin-top: 30px;
            padding-left: 40px;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        #manager #btn {
            width: 46%;
            margin: 20px auto 0;
            display: block;
            outline: none;
        }

        @media screen and (max-width: 800px) {
            #manager .form-group {
                width: 45%;
            }

            #manager {
                margin-top: 0;
            }
        }

        @media screen and (max-width: 560px) {
            #manager .form-group {
                width: 100%;
                margin-left: 0;
            }

            #manager h2 {
                text-align: center;
            }
        }
    </style>

    <div class=\"container\">
        <h2>Lista de Administradores</h2>

        <a href=\"#\" class=\"btn btn-primary col-md-offset-3\" data-toggle=\"modal\" data-target=\"#myModal\">Crear un nuevo
            Administrador
        </a>

        <div class=\"modal fade\" id=\"myModal\" role=\"dialog\">
            <div class=\"modal-dialog\">
                <div class=\"modal-content\">

                    <div class=\"modal-header\" align=\"center\">
                        <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
                        <h4 class=\"modal-title\">Crear Administrador</h4>
                    </div>

                    <div class=\"modal-body\">
                        <div class=\"form-horizontal\">

                            <div class=\"form-group\">
                                <label for=\"human\"
                                       class=\"col-sm-2 control-label\">";
        // line 105
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "nombre", []), 'label', ["label" => "Nombre"]);
        echo "
                                </label>
                                <div class=\"col-sm-8\">
                                    ";
        // line 108
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "nombre", []), 'widget');
        echo "
                                </div>
                            </div>

                            <div class=\"form-group\">
                                <label for=\"human\"
                                       class=\"col-sm-2 control-label\">";
        // line 114
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "office", []), 'label', ["label" => "Nombre"]);
        echo "
                                </label>
                                <div class=\"col-sm-8\">
                                    ";
        // line 117
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "office", []), 'widget');
        echo "
                                </div>
                            </div>

                        </div>
                    </div>

                    <div class=\"modal-footer\">
                        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>
                    </div>
                </div>
            </div>
        </div>

        <table class=\"table\" id=\"manager\">
            <thead>
            <tr class=\"text-center\">
                <th>";
        // line 134
        echo $this->env->getExtension('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension')->sortable($this->env, (isset($context["managerOffices"]) ? $context["managerOffices"] : $this->getContext($context, "managerOffices")), "ID", "idManagerOffice");
        echo "</th>
                <th>";
        // line 135
        echo $this->env->getExtension('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension')->sortable($this->env, (isset($context["managerOffices"]) ? $context["managerOffices"] : $this->getContext($context, "managerOffices")), "Nombre", "nombre");
        echo "</th>
                <th>";
        // line 136
        echo $this->env->getExtension('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension')->sortable($this->env, (isset($context["managerOffices"]) ? $context["managerOffices"] : $this->getContext($context, "managerOffices")), "Oficina", "office");
        echo "</th>
                <th>";
        // line 137
        echo $this->env->getExtension('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension')->sortable($this->env, (isset($context["managerOffices"]) ? $context["managerOffices"] : $this->getContext($context, "managerOffices")), "Actions", "");
        echo "</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            ";
        // line 142
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["managerOffices"]) ? $context["managerOffices"] : $this->getContext($context, "managerOffices")));
        foreach ($context['_seq'] as $context["_key"] => $context["managerOffice"]) {
            // line 143
            echo "                <tr>
                    <td>
                        <a href=\"";
            // line 145
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("timeclock_manageroffice_show", ["idManagerOffice" => $this->getAttribute($context["managerOffice"], "idManagerOffice", [])]), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute($context["managerOffice"], "idManagerOffice", []), "html", null, true);
            echo "</a>
                    </td>
                    <td>";
            // line 147
            echo twig_escape_filter($this->env, $this->getAttribute($context["managerOffice"], "nombre", []), "html", null, true);
            echo "</td>
                    <td>";
            // line 148
            echo twig_escape_filter($this->env, $this->getAttribute($context["managerOffice"], "office", []), "html", null, true);
            echo "</td>
                    <td>
                        <ul>
                            <li>
                                <a href=\"";
            // line 152
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("timeclock_manageroffice_show", ["idManagerOffice" => $this->getAttribute($context["managerOffice"], "idManagerOffice", [])]), "html", null, true);
            echo "\">show</a>
                            </li>
                            <li>
                                <a href=\"";
            // line 155
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("timeclock_manageroffice_edit", ["idManagerOffice" => $this->getAttribute($context["managerOffice"], "idManagerOffice", [])]), "html", null, true);
            echo "\">edit</a>
                            </li>
                        </ul>
                    </td>
                </tr>
            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['managerOffice'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 161
        echo "            </tbody>
        </table>
    </div>
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    public function getTemplateName()
    {
        return "@App/TimeClock/administradores/index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  259 => 161,  247 => 155,  241 => 152,  234 => 148,  230 => 147,  223 => 145,  219 => 143,  215 => 142,  207 => 137,  203 => 136,  199 => 135,  195 => 134,  175 => 117,  169 => 114,  160 => 108,  154 => 105,  51 => 4,  45 => 3,  22 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("{% extends \"@App/Layouts/layout.html.twig\" %}

{% block content %}

    <style type=\"text/css\">
        #manager {
            background-color: #fff;
            max-width: 800px;
            margin: 40px auto 0;
            padding: 45px;
            color: #858b8e;
            box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2);
        }

        #manager h2 {
            padding-bottom: 20px;
            margin: 10px 20px;
            font-size: 24px;
        }

        #manager hr {
            margin-top: 38px;
            margin-bottom: 54px;
            margin-left: 3px;
            border: 1px solid #cccccc;
        }

        #manager .form-group {
            margin-bottom: 20px;
            margin-left: 20px;
            width: 30%;
            float: left;
            text-align: left;
        }

        #manager .form-control {
            padding: 12px 20px;
            height: auto;
            border-radius: 2px;
        }

        #manager {
            margin-left: 10px;
            margin-right: 10px;
        }

        #manager .gender {
            width: 30%;
            margin-top: 30px;
            padding-left: 40px;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        #manager #btn {
            width: 46%;
            margin: 20px auto 0;
            display: block;
            outline: none;
        }

        @media screen and (max-width: 800px) {
            #manager .form-group {
                width: 45%;
            }

            #manager {
                margin-top: 0;
            }
        }

        @media screen and (max-width: 560px) {
            #manager .form-group {
                width: 100%;
                margin-left: 0;
            }

            #manager h2 {
                text-align: center;
            }
        }
    </style>

    <div class=\"container\">
        <h2>Lista de Administradores</h2>

        <a href=\"#\" class=\"btn btn-primary col-md-offset-3\" data-toggle=\"modal\" data-target=\"#myModal\">Crear un nuevo
            Administrador
        </a>

        <div class=\"modal fade\" id=\"myModal\" role=\"dialog\">
            <div class=\"modal-dialog\">
                <div class=\"modal-content\">

                    <div class=\"modal-header\" align=\"center\">
                        <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
                        <h4 class=\"modal-title\">Crear Administrador</h4>
                    </div>

                    <div class=\"modal-body\">
                        <div class=\"form-horizontal\">

                            <div class=\"form-group\">
                                <label for=\"human\"
                                       class=\"col-sm-2 control-label\">{{ form_label(form.nombre,'Nombre') }}
                                </label>
                                <div class=\"col-sm-8\">
                                    {{ form_widget(form.nombre) }}
                                </div>
                            </div>

                            <div class=\"form-group\">
                                <label for=\"human\"
                                       class=\"col-sm-2 control-label\">{{ form_label(form.office,'Nombre') }}
                                </label>
                                <div class=\"col-sm-8\">
                                    {{ form_widget(form.office) }}
                                </div>
                            </div>

                        </div>
                    </div>

                    <div class=\"modal-footer\">
                        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>
                    </div>
                </div>
            </div>
        </div>

        <table class=\"table\" id=\"manager\">
            <thead>
            <tr class=\"text-center\">
                <th>{{ knp_pagination_sortable(managerOffices, 'ID', 'idManagerOffice') }}</th>
                <th>{{ knp_pagination_sortable(managerOffices, 'Nombre', 'nombre') }}</th>
                <th>{{ knp_pagination_sortable(managerOffices, 'Oficina', 'office') }}</th>
                <th>{{ knp_pagination_sortable(managerOffices, 'Actions', '') }}</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            {% for managerOffice in managerOffices %}
                <tr>
                    <td>
                        <a href=\"{{ path('timeclock_manageroffice_show', { 'idManagerOffice': managerOffice.idManagerOffice }) }}\">{{ managerOffice.idManagerOffice }}</a>
                    </td>
                    <td>{{ managerOffice.nombre }}</td>
                    <td>{{ managerOffice.office }}</td>
                    <td>
                        <ul>
                            <li>
                                <a href=\"{{ path('timeclock_manageroffice_show', { 'idManagerOffice': managerOffice.idManagerOffice }) }}\">show</a>
                            </li>
                            <li>
                                <a href=\"{{ path('timeclock_manageroffice_edit', { 'idManagerOffice': managerOffice.idManagerOffice }) }}\">edit</a>
                            </li>
                        </ul>
                    </td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    </div>
{% endblock %}
", "@App/TimeClock/administradores/index.html.twig", "/home/newcolmoda/public_html/CMDA/src/AppBundle/Resources/views/TimeClock/administradores/index.html.twig");
    }
}
