<?php

/* FishmanPollBundle:Pollquestion:new.html.twig */
class __TwigTemplate_af592b56805545aaea4b1772350c6500 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_c6aa8385bbd37e9f8541529d17737d2349136ae5' => array($this, 'block___internal_c6aa8385bbd37e9f8541529d17737d2349136ae5'),
            '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("poll"), "html", null, true);
        echo "\">Encuestas</a></li>
    <li><a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("poll_show", array("id" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "html", null, true);
        echo "</a></li>
    <li><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">Preguntas</a></li>
    <li class=\"current\"><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion_new", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\" title=\"\">Crear</a></li>
</ul>
";
    }

    // line 23
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 24
        echo "<span class=\"icos-create\"></span><h5>Mantenimiento de Encuestas: ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "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\">

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

                <div id=\"questionCrud\" class=\"grid7\">
                    ";
        // line 43
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'errors');
        echo "
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 45
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "question"), 'label', array("label" => "Pregunta"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 47
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "question"), 'widget');
        echo "
                            ";
        // line 48
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "question"), 'errors')) {
            // line 49
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "question"), 'errors');
            echo "</div>
                            ";
        }
        // line 51
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 54
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "type"), 'label', array("label" => "Tipo de Respuesta"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 56
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "type"), 'widget', array("attr" => array("class" => "answerType"), "empty_value" => "SELECCIONE UNA OPCIÓN"));
        echo "
                            ";
        // line 57
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "type"), 'errors')) {
            // line 58
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "type"), 'errors');
            echo "</div>
                            ";
        }
        // line 60
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix formActiveOff formAlignment\">
                        <div class=\"grid3\">";
        // line 63
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "alignment"), 'label', array("label" => "Alineación"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 65
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "alignment"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN"));
        echo "
                            ";
        // line 66
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "alignment"), 'errors')) {
            // line 67
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "alignment"), 'errors');
            echo "</div>
                            ";
        }
        // line 69
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix formActiveOff formOptionsSelect\">
                        <div class=\"grid12\">
                            <fieldset class=\"clearfix formOptionsFieldset\">
                                <div class=\"clearfix formOptionsSelectMultiple\">
                                    <div class=\"grid3\">Opciones<span class=\"req\">*</span></div>
                                    <div class=\"grid9\">
                                        <select name=\"select_options_add[]\" class=\"selectOptions multiple\" multiple=\"multiple\"></select>
                                        <div class=\"grid12 clearfix actionsButtons\">
                                            <a href=\"#questionCrud\" id=\"optionUp\" class=\"tablectrl_small bDefault tipS\" title=\"Arriba\"><span class=\"icos-arrowup\"></span></a>
                                            <a href=\"#questionCrud\" id=\"optionDown\" class=\"tablectrl_small bDefault tipS\" title=\"Abajo\"><span class=\"icos-arrowdown\"></span></a>
                                            <a href=\"#questionCrud\" id=\"optionModify\" class=\"tablectrl_small bDefault tipS\" title=\"Modificar\"><span class=\"icos-create\"></span></a>
                                            <a href=\"#questionCrud\" id=\"optionDelete\" class=\"tablectrl_small bDefault tipS\" title=\"Eliminar\"><span class=\"icos-cross\"></span></a>
                                        </div>
                                    </div>
                                </div>
                                <div class=\"clearfix\">
                                    <div class=\"grid3\">";
        // line 87
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_text"), 'label', array("label" => "Opción"));
        echo "</div>
                                    <div class=\"grid9\">
                                        ";
        // line 89
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_text"), 'widget', array("attr" => array("class" => "optionText")));
        echo "
                                        ";
        // line 90
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_text"), 'errors')) {
            // line 91
            echo "                                            <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_text"), 'errors');
            echo "</div>
                                        ";
        }
        // line 93
        echo "                                    </div>
                                </div>
                                <div class=\"clearfix\">
                                    <div class=\"grid3\">";
        // line 96
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_value"), 'label', array("label" => "Valor"));
        echo "</div>
                                    <div class=\"grid2\">
                                        ";
        // line 98
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_value"), 'widget', array("attr" => array("class" => "formTextNumber optionValue")));
        echo "
                                        ";
        // line 99
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_value"), 'errors')) {
            // line 100
            echo "                                            <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "option_value"), 'errors');
            echo "</div>
                                        ";
        }
        // line 102
        echo "                                    </div>
                                    <div class=\"grid2\">
                                        <a href=\"#questionCrud\" id=\"optionAdd\" class=\"sideB bDefault mt10\">Agregar</a>
                                        <a href=\"#questionCrud\" id=\"optionUpdate\" class=\"sideB bDefault mt10\" style=\"display: none;\">Actualizar</a>
                                    </div>
                                    <div class=\"grid5\">
                                        <label class=\"errorOptionsAddUpdate\" style=\"display: none;\"></label>
                                    </div>
                                </div>
                            </fieldset>
                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 115
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "pollsection_id"), 'label', array("label" => "Sección"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 117
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "pollsection_id"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN"));
        echo "
                            ";
        // line 118
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "pollsection_id"), 'errors')) {
            // line 119
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "pollsection_id"), 'errors');
            echo "</div>
                            ";
        }
        // line 121
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 124
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "mandatory_response"), 'label', array("label" => "Respuesta Obligatoria"));
        echo "</div>
                        <div class=\"grid9\">
                            ";
        // line 126
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "mandatory_response"), 'widget', array("attr" => array("class" => "check")));
        echo "
                            ";
        // line 127
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "mandatory_response"), 'errors')) {
            // line 128
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "mandatory_response"), 'errors');
            echo "</div>
                            ";
        }
        // line 130
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 133
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'label', array("label" => "Orden"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 135
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'widget', array("empty_value" => "Elige el orden"));
        echo "
                            ";
        // line 136
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'errors')) {
            // line 137
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'errors');
            echo "</div>
                            ";
        }
        // line 139
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 142
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'label', array("label" => "Estado"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 144
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN"));
        echo "
                            ";
        // line 145
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'errors')) {
            // line 146
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'errors');
            echo "</div>
                            ";
        }
        // line 148
        echo "                        </div>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 151
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "options"), 'widget', array("attr" => array("class" => "hideOptions")));
        echo "
                        ";
        // line 152
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["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></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Creado por</th>
                                    <td></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Creado el</th>
                                    <td></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Modificado por</th>
                                    <td></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Última modificación</th>
                                    <td></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                
            </fieldset>
            
        </div>
        <!-- /.tableDefault -->
        
        <div class=\"menuCrud clearfix\">
            <ul class=\"record_actions\">
                <li>
                    <a href=\"";
        // line 196
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                        Regresar a la lista
                    </a>
                </li>
                <li>
                    <button type=\"submit\" class=\"sideB bRed mt10 buttonOptionActions\">Guardar</button>
                </li>
            </ul>
        </div>
        <!-- /.menuCrud -->
                
    </form>
    
</div>
<!-- /.formCrudCreate -->

";
    }

    // line 37
    public function block___internal_c6aa8385bbd37e9f8541529d17737d2349136ae5($context, array $blocks = array())
    {
        echo "Crear Pregunta";
    }

    // line 214
    public function block_javascripts($context, array $blocks = array())
    {
        // line 215
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 216
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_option_actions.js"), "html", null, true);
        echo "\"></script>
<script type=\"text/javascript\" src=\"";
        // line 217
        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 218
        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:Pollquestion:new.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  444 => 218,  440 => 217,  436 => 216,  432 => 215,  429 => 214,  423 => 37,  402 => 196,  355 => 152,  351 => 151,  346 => 148,  340 => 146,  338 => 145,  334 => 144,  329 => 142,  324 => 139,  318 => 137,  316 => 136,  312 => 135,  307 => 133,  302 => 130,  296 => 128,  294 => 127,  290 => 126,  285 => 124,  280 => 121,  274 => 119,  272 => 118,  268 => 117,  263 => 115,  248 => 102,  242 => 100,  240 => 99,  236 => 98,  231 => 96,  226 => 93,  220 => 91,  218 => 90,  214 => 89,  209 => 87,  189 => 69,  183 => 67,  181 => 66,  177 => 65,  172 => 63,  167 => 60,  161 => 58,  159 => 57,  155 => 56,  150 => 54,  145 => 51,  139 => 49,  137 => 48,  133 => 47,  128 => 45,  123 => 43,  114 => 37,  104 => 32,  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,);
    }
}
