<?php

/* FishmanPollBundle:Pollscheduling/Evaluator:edit.html.twig */
class __TwigTemplate_77fd4a0aff447f39b44f3b5d4a1cb36b 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_5300a1961a01ce53642dfedcf5594c05781835a5' => array($this, 'block___internal_5300a1961a01ce53642dfedcf5594c05781835a5'),
            '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["entity"]) ? $context["entity"] : null), "pollscheduling_id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollscheduling_title") . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollscheduling_version")), "html", null, true);
        echo "</a></li>
    <li><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingevaluator", array("pollschedulingid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollscheduling_id"))), "html", null, true);
        echo "\">Evaluaciones</a></li>
    <li class=\"current\"><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingevaluator_edit", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" title=\"\">Editar</a></li>
</ul>
";
    }

    // line 23
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 24
        echo "<span class=\"icos-create2\"></span><h5>Programación de Encuestas: ";
        echo twig_escape_filter($this->env, ((($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollscheduling_title") . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollscheduling_version")) . ": Editar"), "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=\"formCrudEdit\">

    <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_5300a1961a01ce53642dfedcf5594c05781835a5", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>

        <form action=\"";
        // line 38
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingevaluator_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=\"crudForm main formSearchEvaluators formControl\">
                    
            <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["edit_form"]) ? $context["edit_form"] : null), 'errors');
        echo "
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\"><label>Evaluado</label></div>
                        <div class=\"grid6\">";
        // line 46
        echo twig_escape_filter($this->env, ((((((($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "evaluated_names") . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "evaluated_surname")) . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "evaluated_lastname")) . " (") . $this->env->getExtension('fishman_extension')->workinginformationTypeFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "evaluated_type"))) . ")"), "html", null, true);
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 49
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator"), 'label', array("label" => "Evaluador"));
        echo "</div>
                        <div class=\"grid6\">
                            ";
        // line 51
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type") == "self_evaluation")) {
            // line 52
            echo "                                ";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator"), 'widget', array("attr" => array("value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator"), "vars"), "value"), "disabled" => "disabled")));
            echo "
                              ";
        } else {
            // line 54
            echo "                                ";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator"), 'widget', array("attr" => array("value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator"), "vars"), "value"))));
            echo "
                            ";
        }
        // line 56
        echo "                            ";
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator"), 'errors')) {
            // line 57
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator"), 'errors');
            echo "</div>
                            ";
        }
        // line 59
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid2\">";
        // line 62
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator_rol"), 'label', array("label" => "Rol de Evaluador"));
        echo "</div>
                        <div class=\"grid6\">
                            ";
        // line 64
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator_rol"), 'widget', array("empty_value" => "Elija el Rol"));
        echo "
                            ";
        // line 65
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator_rol"), 'errors')) {
            // line 66
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "evaluator_rol"), 'errors');
            echo "</div>
                            ";
        }
        // line 68
        echo "                        </div>
                    </div>
                    ";
        // line 70
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") != "working")) {
            // line 71
            echo "                    <div class=\"formRow clearfix\">
                      <div class=\"grid2\">
                        <label for=\"form_attrib\">Atributos Adicionales</label>
                      </div>
                        <div class=\"grid6\">
                          <select id=\"form_attrib\" name=\"form[attrib]\">
                            <option value=\"\">Elige una opción</option>
                            ";
            // line 78
            if ((($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "course") != null) || ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "section") != null))) {
                // line 79
                echo "                                <option value=\"0\">No</option>
                                <option value=\"1\" selected >Si</option>
                            ";
            } else {
                // line 82
                echo "                                <option value=\"0\" selected >No</option>
                                <option value=\"1\">Si</option>
                            ";
            }
            // line 85
            echo "                          </select>
                        </div>
                    </div>
                    <div class=\"additionalAttributes \">
                        <div class=\"formRow clearfix\">
                            <div class=\"grid2\">";
            // line 90
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "course"), 'label', array("label" => "Cursos"));
            echo "</div>
                            <div class=\"grid6 courseSelect\">
                                ";
            // line 92
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "course"), 'widget', array("empty_value" => "Elige una opción"));
            echo "
                                ";
            // line 93
            if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "course"), 'errors')) {
                // line 94
                echo "                                    <div class=\"nNote nFailure nFieldFailure\">";
                echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "course"), 'errors');
                echo "</div>
                                ";
            }
            // line 96
            echo "                            </div>
                        </div>
                        <div class=\"formRow clearfix\">
                            <div class=\"grid2\">";
            // line 99
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "section"), 'label', array("label" => "Sección"));
            echo "</div>
                            <div class=\"grid6\">
                                ";
            // line 101
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "section"), 'widget');
            echo "
                                ";
            // line 102
            if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "section"), 'errors')) {
                // line 103
                echo "                                    <div class=\"nNote nFailure nFieldFailure\">";
                echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "section"), 'errors');
                echo "</div>
                                ";
            }
            // line 105
            echo "                            </div>
                        </div>
                    </div>
                    ";
        }
        // line 109
        echo "                    <div class=\"hide\">
                        ";
        // line 110
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["edit_form"]) ? $context["edit_form"] : null), 'rest');
        echo "
                    </div>
                </div>
                
            </fieldset>
        
            <div class=\"menuCrud clearfix\">
                <ul class=\"record_actions\">
                    <li>
                        <button type=\"submit\" class=\"sideB bRed mt10\">Guardar</button>
                    </li>
                </ul>
            </div>
            
        </form>
            
    </div>
    <!-- /.tableDefault -->
    
    <div class=\"menuCrud clearfix\">
        <ul class=\"record_actions\">
            <li>
                <a href=\"";
        // line 132
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingevaluator", array("pollschedulingid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollscheduling_id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Regresar a la lista
                </a>
            </li>
            <li>
                <a href=\"";
        // line 137
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingevaluator_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 35
    public function block___internal_5300a1961a01ce53642dfedcf5594c05781835a5($context, array $blocks = array())
    {
        echo "Editar Evaluación Asignada";
    }

    // line 148
    public function block_javascripts($context, array $blocks = array())
    {
        // line 149
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 150
        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 151
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_validate.js"), "html", null, true);
        echo "\"></script>
<script type=\"text/javascript\">";
        // line 152
        echo (isset($context["jsonworkinginformations"]) ? $context["jsonworkinginformations"] : null);
        echo "</script>
<script type=\"text/javascript\" src=\"";
        // line 153
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/pollschedulingevaluator.js"), "html", null, true);
        echo "\"></script>
";
    }

    public function getTemplateName()
    {
        return "FishmanPollBundle:Pollscheduling/Evaluator:edit.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  339 => 153,  335 => 152,  331 => 151,  327 => 150,  323 => 149,  320 => 148,  314 => 35,  300 => 137,  292 => 132,  267 => 110,  264 => 109,  258 => 105,  252 => 103,  250 => 102,  246 => 101,  241 => 99,  236 => 96,  230 => 94,  228 => 93,  224 => 92,  219 => 90,  212 => 85,  207 => 82,  202 => 79,  200 => 78,  191 => 71,  189 => 70,  185 => 68,  179 => 66,  177 => 65,  173 => 64,  168 => 62,  163 => 59,  157 => 57,  154 => 56,  148 => 54,  142 => 52,  140 => 51,  135 => 49,  129 => 46,  123 => 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,);
    }
}
