<?php

/* FishmanPollBundle:Pollscheduling/Preview:resolved.html.twig */
class __TwigTemplate_984800ac17a5b320f3ec9976b258fb15 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'),
        );
    }

    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), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "title") . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "version")), "html", null, true);
        echo "</a></li>
    <li class=\"current\"><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollscheduling_preview_terms", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">Previzualizar</a></li>
</ul>
";
    }

    // line 22
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 23
        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), "title") . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "version")) . " : Previsualizar"), "html", null, true);
        echo "</h5>
";
    }

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

";
        // line 29
        if (((isset($context["page"]) ? $context["page"] : null) == 1)) {
            // line 30
            echo "<div class=\"mainDescription\">";
            echo $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "description");
            echo "</div>
";
        }
        // line 32
        echo "
<div class=\"resolvePoll\">
    
    <div class=\"widget advanceBarPoll clearfix\"> 
        <div class=\"formRow clearfix\">
            <div class=\"grid2\">
                <strong><label>Avance de la Encuesta</label></strong>
            </div>
            <div class=\"grid10\">
              <div id=\"pai-progress\" class=\"ui-progressbar ui-widget ui-widget-content ui-corner-all\" role=\"progressbar\" aria-valuemin=\"0\" aria-valuemax=\"100\" aria-valuenow=\"80\">
                  <div class=\"ui-progressbar-value ui-widget-header ui-corner-left\" style=\"width: 0%; \"></div>
              </div>
              <div class=\"containerCountText\"><label class=\"countText\"><strong>0%</strong> | Has respondido 0 preguntas de 100</label></div>
            </div>
        </div>
    </div>
    <!-- /.advancedBarPoll -->
        
    <div class=\"dashboard fluid clearfix\">
        
        <form action=\"";
        // line 52
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollscheduling_preview", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"), "page" => (isset($context["page"]) ? $context["page"] : null))), "html", null, true);
        echo "\" method=\"post\" accept-charset=\"utf-8\">
            
            ";
        // line 54
        echo (isset($context["paginator"]) ? $context["paginator"] : null);
        echo "
            
            ";
        // line 56
        if (((isset($context["alignment"]) ? $context["alignment"] : null) == "vertical")) {
            // line 57
            echo "            ";
            echo $this->env->getExtension('fishman_extension')->pollQuestionsFunction((isset($context["questions"]) ? $context["questions"] : null), 1, (isset($context["preview_multiple"]) ? $context["preview_multiple"] : null));
            echo "
            ";
        } else {
            // line 59
            echo "            ";
            echo $this->env->getExtension('fishman_extension')->pollQuestionsHorizontalFunction((isset($context["questions"]) ? $context["questions"] : null), 1);
            echo "
            ";
        }
        // line 61
        echo "            
            ";
        // line 62
        echo (isset($context["paginator"]) ? $context["paginator"] : null);
        echo "
            
            <div class=\"menuCrud clearfix\">
                <ul class=\"record_actions\">
                    ";
        // line 66
        if (((isset($context["lastpage"]) ? $context["lastpage"] : null) != (isset($context["page"]) ? $context["page"] : null))) {
            // line 67
            echo "                    <li>
                        <button type=\"submit\" name=\"savedraft\" value=\"1\" class=\"sideB bGreyish mt10 spanButton\">Guardar</button>
                    </li>
                    ";
        } else {
            // line 71
            echo "                    <li>
                        <button type=\"submit\" name=\"send\" value=\"1\" class=\"sideB bGreyish mt10 spanButton\">Enviar Encuesta</button>
                    </li>
                    ";
        }
        // line 75
        echo "                </ul>
            </div>
        
        </form>
        
    </div>
    
</div>
<!-- /.resolvePoll -->

";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  174 => 75,  168 => 71,  162 => 67,  160 => 66,  153 => 62,  150 => 61,  144 => 59,  138 => 57,  136 => 56,  131 => 54,  126 => 52,  104 => 32,  98 => 30,  96 => 29,  91 => 27,  88 => 26,  81 => 23,  78 => 22,  71 => 18,  65 => 17,  61 => 16,  57 => 15,  54 => 14,  51 => 13,  47 => 10,  44 => 9,  40 => 6,  37 => 5,  31 => 3,);
    }
}
