<?php

/* FishmanPollBundle:Pollschedulingpeople:new.html.twig */
class __TwigTemplate_5d36c19204f88a25daa8b9508231aca0 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base_fishman.html.twig");

        $this->blocks = array(
            'subtitle' => array($this, 'block_subtitle'),
            'top_navigation' => array($this, 'block_top_navigation'),
            'navigation' => array($this, 'block_navigation'),
            'breadcrumb' => array($this, 'block_breadcrumb'),
            'subtitle2' => array($this, 'block_subtitle2'),
            'content' => array($this, 'block_content'),
            '__internal_ff76fdbfd58bf96f89cefb2628ed1e94b63c471d' => array($this, 'block___internal_ff76fdbfd58bf96f89cefb2628ed1e94b63c471d'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::base_fishman.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_subtitle($context, array $blocks = array())
    {
        echo "<span class=\"icon-screen\"></span>Programaciones";
    }

    // line 5
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 6
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "scheduling")));
    }

    // line 9
    public function block_navigation($context, array $blocks = array())
    {
        // line 10
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "scheduling")));
    }

    // line 13
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 14
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 15
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_homepage"), "html", null, true);
        echo "\">Dashboard</a></li>
    <li><a href=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollscheduling"), "html", null, true);
        echo "\">Programación de Encuestas</a></li>
    <li><a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollscheduling_show", array("id" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "title") . " ") . $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "version")), "html", null, true);
        echo "</a></li>
    <li><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">Personas</a></li>
    <li class=\"current\"><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_new", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">Buscar y Asignar</a></li>
</ul>
";
    }

    // line 23
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 24
        echo "<span class=\"icos-cog4\"></span><h5>Programación de Encuestas: ";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "title") . " ") . $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "version")), "html", null, true);
        echo "</h5>
";
    }

    // line 27
    public function block_content($context, array $blocks = array())
    {
        // line 28
        $this->displayParentBlock("content", $context, $blocks);
        echo "

<div class=\"formCrudCreate\">

    <div class=\"widget fluid tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 35
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_ff76fdbfd58bf96f89cefb2628ed1e94b63c471d", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>

        <form action=\"\" method=\"post\" ";
        // line 38
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"crud main\">
                    
            <fieldset class=\"step ui-formwizard-content clearfix\" id=\"w1first\" style=\"display: block;\">

                <div class=\"grid12\">
                    ";
        // line 43
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'errors');
        echo "
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 45
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'label', array("label" => "Código"));
        echo "</div>
                        <div class=\"grid6\">
                            ";
        // line 47
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'widget', array("attr" => array("value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), "vars"), "value"))));
        echo "
                            ";
        // line 48
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'errors')) {
            // line 49
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'errors');
            echo "</div>
                            ";
        }
        // line 51
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 54
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "surname"), 'label', array("label" => "Apellido Paterno"));
        echo "</div>
                        <div class=\"grid2\">
                            ";
        // line 56
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "surname"), 'widget', array("attr" => array("value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "surname"), "vars"), "value"))));
        echo "
                            ";
        // line 57
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "surname"), 'errors')) {
            // line 58
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "surname"), 'errors');
            echo "</div>
                            ";
        }
        // line 60
        echo "                        </div>
                        <div class=\"grid2 textR\">";
        // line 61
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "lastname"), 'label', array("label" => "Apellido Materno"));
        echo "</div>
                        <div class=\"grid2\">
                            ";
        // line 63
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "lastname"), 'widget', array("attr" => array("value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "lastname"), "vars"), "value"))));
        echo "
                            ";
        // line 64
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "lastname"), 'errors')) {
            // line 65
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "lastname"), 'errors');
            echo "</div>
                            ";
        }
        // line 67
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 70
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "names"), 'label', array("label" => "Nombres"));
        echo "</div>
                        <div class=\"grid6\">
                            ";
        // line 72
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "names"), 'widget', array("attr" => array("value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "names"), "vars"), "value"))));
        echo "
                            ";
        // line 73
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "names"), 'errors')) {
            // line 74
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "names"), 'errors');
            echo "</div>
                            ";
        }
        // line 76
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 79
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), 'label', array("label" => "Fecha de Ingreso"));
        echo "</div>
                        <div class=\"grid6\">
                            ";
        // line 81
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), 'widget', array("attr" => array("class" => "datepicker", "value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), "vars"), "value"))));
        echo "
                            ";
        // line 82
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), 'errors')) {
            // line 83
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), 'errors');
            echo "</div>
                            ";
        }
        // line 85
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 88
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'label', array("label" => "Unidad Organizativa"));
        echo "</div>
                        <div class=\"grid6\">
                            ";
        // line 90
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'widget', array("empty_value" => "Elige la unidad organizativa"));
        echo "
                            ";
        // line 91
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'errors')) {
            // line 92
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'errors');
            echo "</div>
                            ";
        }
        // line 94
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 97
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'label', array("label" => "Cargo"));
        echo "</div>
                        <div class=\"grid6\">
                            ";
        // line 99
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'widget', array("empty_value" => "Elige el cargo"));
        echo "
                            ";
        // line 100
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'errors')) {
            // line 101
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'errors');
            echo "</div>
                            ";
        }
        // line 103
        echo "                        </div>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 106
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'rest');
        echo "
                    </div>
                </div>
                
            </fieldset>
            
            <div class=\"menuCrud clearfix menuCrudsecundary\">
                <ul class=\"record_actions\">
                    <li>
                        <button type=\"submit\" name=\"reset\" class=\"sideB bGreyish mt10\">Buscar</button>
                    </li>
                    <li>
                        <button type=\"reset\" name=\"reset\" class=\"sideB bGreyish mt10 buttonResetPeoples\">Limpiar</button>
                    </li>
                </ul>
            </div>
            <!-- /.menuCrud -->
            
        </form>
        
        <form action=\"";
        // line 126
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_asigneds", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\" method=\"post\" ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["asigneds_form"]) ? $context["asigneds_form"] : null), 'enctype');
        echo " class=\"crud formAsigneds formControl\">
        
            ";
        // line 128
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["asigneds_form"]) ? $context["asigneds_form"] : null), 'errors');
        echo "

            <div class=\"dataListTable insideTable\">
                <table class=\"records_list dataTable check_all\">
                    <thead>
                        <tr>
                            <th class=\"check\"><input type=\"checkbox\" id=\"form_deletes_check_all\" name=\"form_deletes[check_all]\" value=\"1\"></th>
                            <th>Código</th>
                            <th>Ape. Peterno</th>
                            <th>Ape. Materno</th>
                            <th>Nombres</th>
                            <th>Información</th>
                            <th>Unidad</th>
                            <th>Cargo</th>
                            <th>Ingreso</th>
                            <th>Estado</th>
                        </tr>
                    </thead>
                    <tbody>
                    ";
        // line 147
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["entities"]) ? $context["entities"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
            // line 148
            echo "                        <tr>
                            <td class=\"check\"><input type=\"checkbox\" id=\"form_asigneds_registers_";
            // line 149
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"), "html", null, true);
            echo "\" name=\"form[registers][]\" value=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"), "html", null, true);
            echo "\"></td>
                            <td>";
            // line 150
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "code"), "html", null, true);
            echo "</td>
                            <td>";
            // line 151
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "surname"), "html", null, true);
            echo "</td>
                            <td>";
            // line 152
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "lastname"), "html", null, true);
            echo "</td>
                            <td>";
            // line 153
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "names"), "html", null, true);
            echo "</td>
                            <td>";
            // line 154
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->workinginformationTypeFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type")), "html", null, true);
            echo "</td>
                            <td>";
            // line 155
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "companyorganizationalunit"), "html", null, true);
            echo "</td>
                            <td>";
            // line 156
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "companycharge"), "html", null, true);
            echo "</td>
                            <td>";
            // line 157
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "datein"), "d/m/Y"), "html", null, true);
            echo "</td>
                            <td>";
            // line 158
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->statusNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "status")), "html", null, true);
            echo "</td>
                        </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 161
        echo "                    </tbody>
                </table>
                
                <div class=\"fg-toolbar tableFooter\">
                    <div class=\"dataTables_info\">";
        // line 165
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
                    ";
        // line 166
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "pollschedulingpeople_new", "rparams" => array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id")), "id" => "workinginformation")));
        // line 167
        echo "                </div>
                
            </div>
            <!-- /.dataListTable -->
    
            <div class=\"menuCrud clearfix menuCrudsecundary\">
                <ul class=\"record_actions\">
                    <li class=\"marginCombo\">
                        <fieldset class=\"step ui-formwizard-content clearfix\">
                            ";
        // line 176
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["asigneds_form"]) ? $context["asigneds_form"] : null), "profile"), 'label', array("label" => "Perfil persona"));
        echo "
                            ";
        // line 177
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["asigneds_form"]) ? $context["asigneds_form"] : null), "profile"), 'widget', array("empty_value" => "Escoja el perfil"));
        echo "
                        </fieldset>
                    </li>
                    <li>
                        <button name=\"save\" value=\"1\" type=\"submit\" class=\"sideB bRed mt10\">Asignar personas</button>
                    </li>
                    <li>
                        <input type=\"hidden\" name=\"saveandclose\" value=\"0\" class=\"saveAndClose\" />
                        <button name=\"buttonsac\" value=\"0\" type=\"submit\" class=\"buttonSaveAndClose sideB bRed mt10\">Asignar personas y Cerrar</button>
                    </li>
                    <li>
                        <a href=\"";
        // line 188
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                            Regresar a la lista
                        </a>
                    </li>
                </ul>
            </div>
            <!-- /.menuCrud -->
            
            <div class=\"hide\">
                ";
        // line 197
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["asigneds_form"]) ? $context["asigneds_form"] : null), 'rest');
        echo "
            </div>
            
        </form>

    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.formCrudCreate -->

";
    }

    // line 35
    public function block___internal_ff76fdbfd58bf96f89cefb2628ed1e94b63c471d($context, array $blocks = array())
    {
        echo "Programar Encuesta : Buscar y asignar Personas";
    }

    // line 210
    public function block_javascripts($context, array $blocks = array())
    {
        // line 211
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 212
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_fischman.js"), "html", null, true);
        echo "\"></script>
<script type=\"text/javascript\" src=\"";
        // line 213
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_validate.js"), "html", null, true);
        echo "\"></script>
";
    }

    public function getTemplateName()
    {
        return "FishmanPollBundle:Pollschedulingpeople:new.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  470 => 213,  466 => 212,  462 => 211,  459 => 210,  453 => 35,  437 => 197,  425 => 188,  411 => 177,  407 => 176,  396 => 167,  394 => 166,  390 => 165,  384 => 161,  375 => 158,  371 => 157,  367 => 156,  363 => 155,  359 => 154,  355 => 153,  351 => 152,  347 => 151,  343 => 150,  337 => 149,  334 => 148,  330 => 147,  308 => 128,  301 => 126,  278 => 106,  273 => 103,  267 => 101,  265 => 100,  261 => 99,  256 => 97,  251 => 94,  245 => 92,  243 => 91,  239 => 90,  234 => 88,  229 => 85,  223 => 83,  221 => 82,  217 => 81,  212 => 79,  207 => 76,  201 => 74,  199 => 73,  195 => 72,  190 => 70,  185 => 67,  179 => 65,  177 => 64,  173 => 63,  168 => 61,  165 => 60,  159 => 58,  157 => 57,  153 => 56,  148 => 54,  143 => 51,  137 => 49,  135 => 48,  131 => 47,  126 => 45,  121 => 43,  113 => 38,  107 => 35,  97 => 28,  94 => 27,  87 => 24,  84 => 23,  77 => 19,  73 => 18,  67 => 17,  63 => 16,  59 => 15,  56 => 14,  53 => 13,  49 => 10,  46 => 9,  42 => 6,  39 => 5,  33 => 3,);
    }
}
