<?php

/* FishmanAuthBundle:Workinginformation:edit.html.twig */
class __TwigTemplate_d7b2c7feab8ae093460cc86fb12db113 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_2b98f632c8984f7e81e7fa9b3c125b7240e15f73' => array($this, 'block___internal_2b98f632c8984f7e81e7fa9b3c125b7240e15f73'),
            '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>Mantenimientos";
    }

    // 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" => "admin")));
    }

    // 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" => "admin")));
    }

    // 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("user"), "html", null, true);
        echo "\">Personas</a></li>
    <li><a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_show", array("id" => $this->getAttribute((isset($context["user"]) ? $context["user"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, (((($this->getAttribute((isset($context["user"]) ? $context["user"] : null), "names") . " ") . $this->getAttribute((isset($context["user"]) ? $context["user"] : null), "surname")) . " ") . $this->getAttribute((isset($context["user"]) ? $context["user"] : null), "lastname")), "html", null, true);
        echo "</a></li>
    <li><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("workinginformation", array("userid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "user"), "id"))), "html", null, true);
        echo "\">Información Laboral</a></li>
    <li><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("workinginformation_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company"), "html", null, true);
        echo "</a></li>
    <li class=\"current\"><a href=\"";
        // line 20
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("workinginformation_edit", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">Editar</a></li>
</ul>
";
    }

    // line 24
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 25
        echo "<span class=\"icos-users2\"></span><h5>Mantenimiento de Personas: ";
        echo twig_escape_filter($this->env, (((((($this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "user"), "names") . " ") . $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "user"), "surname")) . " ") . $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "user"), "lastname")) . ": ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company")), "html", null, true);
        echo "</h5>
";
    }

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

<div class=\"formCrudEdit\">

    <form action=\"";
        // line 33
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("workinginformation_update", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" method=\"post\" ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["edit_form"]) ? $context["edit_form"] : null), 'enctype');
        echo " class=\"crud main formControl\">
    
        <div class=\"widget fluid tableDefault clearfix\">
        
            <div class=\"whead clearfix\">
                <h6>";
        // line 38
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_2b98f632c8984f7e81e7fa9b3c125b7240e15f73", $context, $blocks)), "html", null, true);
        echo "</h6>
            </div>
                
            <fieldset class=\"step ui-formwizard-content clearfix\" id=\"w1first\" style=\"display: block;\">

                <div class=\"grid7\">
                    ";
        // line 44
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["edit_form"]) ? $context["edit_form"] : null), 'errors');
        echo "
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 46
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "companyid"), 'label', array("label" => "Empresa"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 48
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "companyid"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN", "attr" => array("class" => "workinginformation companyselect")));
        echo "
                            ";
        // line 49
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "companyid"), 'errors')) {
            // line 50
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "companyid"), 'errors');
            echo "</div>
                            ";
        }
        // line 52
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 55
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "code"), 'label', array("label" => "Código Empleado"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 57
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "code"), 'widget');
        echo "
                            ";
        // line 58
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "code"), 'errors')) {
            // line 59
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "code"), 'errors');
            echo "</div>
                            ";
        }
        // line 61
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 64
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "datein"), 'label', array("label" => "Fecha de Ingreso"));
        echo "</div>
                        <div class=\"grid9\">
                            ";
        // line 66
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "datein"), 'widget', array("attr" => array("class" => "datepicker")));
        echo "
                            ";
        // line 67
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "datein"), 'errors')) {
            // line 68
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "datein"), 'errors');
            echo "</div>
                            ";
        }
        // line 70
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 73
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "dateout"), 'label', array("label" => "Fecha de Cese"));
        echo "</div>
                        <div class=\"grid9\">
                            ";
        // line 75
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "dateout"), 'widget', array("attr" => array("class" => "datepicker")));
        echo "
                            ";
        // line 76
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "dateout"), 'errors')) {
            // line 77
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "dateout"), 'errors');
            echo "</div>
                            ";
        }
        // line 79
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 82
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "email"), 'label', array("label" => "Correo Laboral"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 84
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "email"), 'widget');
        echo "
                            ";
        // line 85
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "email"), 'errors')) {
            // line 86
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "email"), 'errors');
            echo "</div>
                            ";
        }
        // line 88
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\"><label for=\"workinginformation_boss\" class=\"required\">Responsable/Jefe</label></div>
                        <div class=\"grid9 select_boss\">
                           ";
        // line 93
        echo (isset($context["selectBoss"]) ? $context["selectBoss"] : null);
        echo "
                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 97
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "unit_type"), 'label', array("label" => "Tipo Unidad"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9 select_unittype\">
                            ";
        // line 99
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "unit_type"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN", "attr" => array("class" => "unittypeselect")));
        echo "
                            ";
        // line 100
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "unit_type"), 'errors')) {
            // line 101
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "unit_type"), 'errors');
            echo "</div>
                            ";
        }
        // line 103
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\"><span class=\"req\">*</span>
                            <label for=\"company_organization_unit\" class=\"required\">Unidad Organizativa</label>
                        </div>
                        <div class=\"grid9 select_companyorganizationalunit\">
                            ";
        // line 110
        echo (isset($context["selectCompanyOrganizationalUnit"]) ? $context["selectCompanyOrganizationalUnit"] : null);
        echo "
                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\"><span class=\"req\">*</span>
                            <label for=\"company_charge\" class=\"required\">Cargo</label>
                        </div>
                        <div class=\"grid9 select_companycharge\">
                            ";
        // line 118
        echo (isset($context["selectCompanyCharge"]) ? $context["selectCompanyCharge"] : null);
        echo "
                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\"><span class=\"req\">*</span>
                            <label for=\"headquarter\" class=\"required\">Sede</label>
                        </div>
                        <div class=\"grid9 select_headquarter\">
                            ";
        // line 126
        echo (isset($context["selectHeadquarter"]) ? $context["selectHeadquarter"] : null);
        echo "
                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 130
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "status"), 'label', array("label" => "Estado"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                          ";
        // line 132
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "status"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN"));
        echo "
                            ";
        // line 133
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "status"), 'errors')) {
            // line 134
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "status"), 'errors');
            echo "</div>
                            ";
        }
        // line 136
        echo "                        </div>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 139
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["edit_form"]) ? $context["edit_form"] : null), 'rest');
        echo "
                    </div>
                </div>
                
                <div class=\"grid4 audit\">
                    <div class=\"widget\">
                        <div class=\"whead clearfix\">
                            <h6>Auditoría</h6>
                        </div>
                        <table class=\"audit_list dataTable\">
                            <tbody>
                                <tr>
                                    <th class=\"textL\">Id</th>
                                    <td>";
        // line 152
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"), "html", null, true);
        echo "</td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Creado por</th>
                                    <td>";
        // line 156
        echo twig_escape_filter($this->env, (isset($context["createdByName"]) ? $context["createdByName"] : null), "html", null, true);
        echo "</td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Creado el</th>
                                    <td>";
        // line 160
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "created"), "d/m/Y - H:i"), "html", null, true);
        echo "</td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Modificado por</th>
                                    <td>";
        // line 164
        echo twig_escape_filter($this->env, (isset($context["modifiedByName"]) ? $context["modifiedByName"] : null), "html", null, true);
        echo "</td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Última modificación</th>
                                    <td>";
        // line 168
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "changed"), "d/m/Y - H:i"), "html", null, true);
        echo "</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                
            </fieldset>
        
            <div class=\"menuCrud clearfix\">
                <ul class=\"record_actions\">
                    <li>
                        <button type=\"submit\" class=\"sideB bRed mt10\">Guardar</button>
                    </li>
                </ul>
            </div>
            
        </div>
        <!-- /.tableDefault -->
        
    </form>
        
    <div class=\"menuCrud clearfix\">
        <ul class=\"record_actions\">
            <li>
                <a href=\"";
        // line 193
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("workinginformation", array("userid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "user"), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">Regresar a la lista</a>
            </li>
            <li>
                <a href=\"";
        // line 196
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("workinginformation_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bRed mt10\">Ver</a>
            </li>
            <li>
                <a href=\"";
        // line 199
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("workinginformation_drop", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bRed mt10\">Eliminar</a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->

</div>
<!-- /.formCrudEdit -->

";
    }

    // line 38
    public function block___internal_2b98f632c8984f7e81e7fa9b3c125b7240e15f73($context, array $blocks = array())
    {
        echo "Editar Información Laboral";
    }

    // 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_validate.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_fischman.js"), "html", null, true);
        echo "\"></script>
";
        // line 214
        echo (isset($context["globaljavascript"]) ? $context["globaljavascript"] : null);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 215
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/workinginformation_ajax.js"), "html", null, true);
        echo "\"></script>
";
    }

    public function getTemplateName()
    {
        return "FishmanAuthBundle:Workinginformation:edit.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  453 => 215,  449 => 214,  445 => 213,  441 => 212,  437 => 211,  434 => 210,  428 => 38,  414 => 199,  408 => 196,  402 => 193,  374 => 168,  367 => 164,  360 => 160,  353 => 156,  346 => 152,  330 => 139,  325 => 136,  319 => 134,  317 => 133,  313 => 132,  308 => 130,  301 => 126,  290 => 118,  279 => 110,  270 => 103,  264 => 101,  262 => 100,  258 => 99,  253 => 97,  246 => 93,  239 => 88,  233 => 86,  231 => 85,  227 => 84,  222 => 82,  217 => 79,  211 => 77,  209 => 76,  205 => 75,  200 => 73,  195 => 70,  189 => 68,  187 => 67,  183 => 66,  178 => 64,  173 => 61,  167 => 59,  165 => 58,  161 => 57,  156 => 55,  151 => 52,  145 => 50,  143 => 49,  139 => 48,  134 => 46,  129 => 44,  120 => 38,  110 => 33,  103 => 29,  100 => 28,  93 => 25,  90 => 24,  83 => 20,  77 => 19,  73 => 18,  67 => 17,  63 => 16,  59 => 15,  56 => 14,  53 => 13,  49 => 10,  46 => 9,  42 => 6,  39 => 5,  33 => 3,);
    }
}
