<?php

/* FishmanPollBundle:Pollquestion:show.html.twig */
class __TwigTemplate_95e5e1ddb758c2f496c7a5d1a4cc534e 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_aa30892b50fd01b5c464c50f423ab43a31e5ca65' => array($this, 'block___internal_aa30892b50fd01b5c464c50f423ab43a31e5ca65'),
        );
    }

    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("pollquestion", array("pollid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "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_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), "question"), "html", null, true);
        echo "</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($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "title") . ": ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "question")), "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=\"dataView\">

    <div class=\"menuCrud clearfix\">
        <ul>
            <li>
                <a href=\"";
        // line 35
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion_new", array("pollid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Crear Pregunta
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 46
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_aa30892b50fd01b5c464c50f423ab43a31e5ca65", $context, $blocks)), "html", null, true);
        echo "</h6>
            <div class=\"navTabs\">
                <ul>
                    <li><a href=\"";
        // line 49
        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 "\">General</a></li>
                    <li><a href=\"";
        // line 50
        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 class=\"activeTab\"><a href=\"";
        // line 51
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion", array("pollid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "id"))), "html", null, true);
        echo "\">Preguntas</a></li>
                    <li><a href=\"";
        // line 52
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollnotification", array("pollid" => $this->getAttribute($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "poll"), "id"))), "html", null, true);
        echo "\">Notificaciones</a></li>
                </ul>
            </div>
        </div>
        
        <div class=\"grid7 showData\">
            <div class=\"widget\">
                <table class=\"record_properties dataTable\">
                    <thead>
                        <tr>
                            <th>Campo</th>
                            <th>Dato</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <th class=\"textL\">Pregunta</th>
                            <td>";
        // line 69
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "question"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Tipo</th>
                            <td>";
        // line 73
        echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->answertypeNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type")), "html", null, true);
        echo "</td>
                        </tr>
                        ";
        // line 75
        if (((($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type") == "unique_option") || ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type") == "multiple_option")) || ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type") == "selection_option"))) {
            // line 76
            echo "                            ";
            if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type") != "selection_option")) {
                echo " 
                                <tr>
                                    <th class=\"textL\">Alineamiento</th>
                                    <td>";
                // line 79
                echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->alignmentNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "alignment")), "html", null, true);
                echo "</td>
                                </tr>
                            ";
            }
            // line 81
            echo " 
                            <tr>
                                <th class=\"textL\">Opciones</th>
                                <td>
                                    <ul>
                                    ";
            // line 86
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "options"));
            foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
                // line 87
                echo "                                        <li>";
                echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["option"]) ? $context["option"] : null), "score") . " | ") . $this->getAttribute((isset($context["option"]) ? $context["option"] : null), "text")), "html", null, true);
                echo "</li>
                                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 89
            echo "                                    </ul>
                                </td>
                            </tr>
                        ";
        }
        // line 92
        echo " 
                        <tr>
                            <th class=\"textL\">Sección</th>
                            <td>";
        // line 95
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollsection"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Respuesta Obligatoria</th>
                            <td>";
        // line 99
        echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->mandatoryresponseNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "mandatoryresponse")), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Orden</th>
                            <td>";
        // line 103
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "sequence"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Estado</th>
                            <td>";
        // line 107
        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>
                    </tbody>
                </table>
            </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 123
        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 127
        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 131
        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 135
        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 139
        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>
        
    </div>
    <!-- /.tableDefault -->
    
    <div class=\"menuCrud clearfix\">
        <ul class=\"record_actions\">
            <li>
                <a href=\"";
        // line 152
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion", 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 155
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion_drop", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bRed mt10\">Eliminar</a>
            </li>
            <li>
                <a href=\"";
        // line 158
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollquestion_edit", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bRed mt10\">Editar</a>
            </li>
        </ul>
    </div>
    <!-- .menuCrud -->
    
</div>
<!-- /.dataView -->

";
    }

    // line 46
    public function block___internal_aa30892b50fd01b5c464c50f423ab43a31e5ca65($context, array $blocks = array())
    {
        echo "Detalle de la Pregunta";
    }

    public function getTemplateName()
    {
        return "FishmanPollBundle:Pollquestion:show.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  328 => 46,  314 => 158,  308 => 155,  302 => 152,  286 => 139,  279 => 135,  272 => 131,  265 => 127,  258 => 123,  239 => 107,  232 => 103,  225 => 99,  218 => 95,  213 => 92,  207 => 89,  198 => 87,  194 => 86,  187 => 81,  181 => 79,  174 => 76,  172 => 75,  167 => 73,  160 => 69,  140 => 52,  136 => 51,  132 => 50,  128 => 49,  122 => 46,  108 => 35,  98 => 28,  95 => 27,  88 => 24,  85 => 23,  76 => 19,  72 => 18,  66 => 17,  62 => 16,  58 => 15,  55 => 14,  52 => 13,  48 => 10,  45 => 9,  41 => 6,  38 => 5,  32 => 3,);
    }
}
