<?php

/* FishmanPollBundle:Pollsection:edit.html.twig */
class __TwigTemplate_22b889cafb072e8139f75b0976458b5b 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_df8c10de1103029cb238f485d5eb92342167c6c0' => array($this, 'block___internal_df8c10de1103029cb238f485d5eb92342167c6c0'),
            'tinymce' => array($this, 'block_tinymce'),
            '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($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "title"), "html", null, true);
        echo "</a></li>
    <li><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollsection", array("pollid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "id"))), "html", null, true);
        echo "\">Secciones</a></li>
    <li><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollsection_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), "name"), "html", null, true);
        echo "</a></li>
    <li class=\"current\"><a href=\"";
        // line 20
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollsection_edit", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" title=\"\">Editar</a></li>
</ul>
";
    }

    // line 24
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 25
        echo "<span class=\"icos-create\"></span><h5>Mantenimiento de Encuestas: ";
        echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "title") . ": ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name")), "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("pollsection_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_df8c10de1103029cb238f485d5eb92342167c6c0", $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), "name"), 'label', array("label" => "Nombre"));
        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), "name"), 'widget');
        echo "
                            ";
        // line 49
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "name"), '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), "name"), 'errors');
            echo "</div>
                            ";
        }
        // line 52
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix descriptionContainer\">
                        <div class=\"grid3\">";
        // line 55
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "description"), 'label', array("label" => "Descripción"));
        echo "</div>
                        <div class=\"grid9\">
                            ";
        // line 57
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "description"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN"));
        echo "
                            ";
        // line 58
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "description"), '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), "description"), '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), "parent_id"), 'label', array("label" => "Sección Padre"));
        echo "</div>
                        <div class=\"grid9\">
                            ";
        // line 66
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "parent_id"), 'widget');
        echo "
                            ";
        // line 67
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "parent_id"), '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), "parent_id"), '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), "sequence"), 'label', array("label" => "Orden"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 75
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "sequence"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN"));
        echo "
                            ";
        // line 76
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "sequence"), '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), "sequence"), '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), "status"), 'label', array("label" => "Estado"));
        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), "status"), 'widget');
        echo "
                            ";
        // line 85
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : null), "status"), '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), "status"), 'errors');
            echo "</div>
                            ";
        }
        // line 88
        echo "                        </div>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 91
        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 104
        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 108
        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 112
        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 116
        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 120
        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 145
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollsection", array("pollid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">Regresar a la lista</a>
            </li>
            <li>
                <a href=\"";
        // line 148
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollsection_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 151
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollsection_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_df8c10de1103029cb238f485d5eb92342167c6c0($context, array $blocks = array())
    {
        echo "Editar Sección";
    }

    // line 162
    public function block_tinymce($context, array $blocks = array())
    {
        // line 163
        echo $this->env->getExtension('stfalcon_tinymce')->tinymce_init();
        echo "
";
    }

    // line 166
    public function block_javascripts($context, array $blocks = array())
    {
        // line 167
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 168
        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 169
        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:Pollsection:edit.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  369 => 169,  365 => 168,  361 => 167,  358 => 166,  352 => 163,  349 => 162,  343 => 38,  329 => 151,  323 => 148,  317 => 145,  289 => 120,  282 => 116,  275 => 112,  268 => 108,  261 => 104,  245 => 91,  240 => 88,  234 => 86,  232 => 85,  228 => 84,  223 => 82,  218 => 79,  212 => 77,  210 => 76,  206 => 75,  201 => 73,  196 => 70,  190 => 68,  188 => 67,  184 => 66,  179 => 64,  174 => 61,  168 => 59,  166 => 58,  162 => 57,  157 => 55,  152 => 52,  146 => 50,  144 => 49,  140 => 48,  135 => 46,  130 => 44,  121 => 38,  111 => 33,  104 => 29,  101 => 28,  94 => 25,  91 => 24,  84 => 20,  78 => 19,  74 => 18,  68 => 17,  64 => 16,  60 => 15,  57 => 14,  54 => 13,  50 => 10,  47 => 9,  43 => 6,  40 => 5,  34 => 3,);
    }
}
