<?php

/* FishmanFrontEndBundle:Dashboard/Poll:edit_token.html.twig */
class __TwigTemplate_92d7b672ca2725e11cc3379d3bbf00bc extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base_anonymous.html.twig");

        $this->blocks = array(
            'customheader' => array($this, 'block_customheader'),
            'subtitle' => array($this, 'block_subtitle'),
            'subtitle2' => array($this, 'block_subtitle2'),
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::base_anonymous.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_customheader($context, array $blocks = array())
    {
        // line 4
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:customheader.html.twig")->display(array_merge($context, array("customheadertitle" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitle"), "customheadertitletext" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitletext"), "customheadertitledescription" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitledescription"), "customheaderlogo" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheaderlogo"), "companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "companyname" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "companyimage" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "image"))));
    }

    // line 16
    public function block_subtitle($context, array $blocks = array())
    {
        // line 17
        if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "pollschedulinganonymous") == 0)) {
            // line 18
            echo "<span class=\"icon-screen\"></span>Encuesta : ";
            echo twig_escape_filter($this->env, (((((($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title") . " | V ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "version")) . " | ") . $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name")) . " | ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "pollschedulingperiod")), "html", null, true);
            echo "
";
        } else {
            // line 20
            echo "<span class=\"icon-screen\"></span>Encuesta : ";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "html", null, true);
            echo "
";
        }
    }

    // line 24
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 25
        if ((($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "pollschedulinganonymous") == 0) && ($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type") != "not_evaluateds"))) {
            // line 26
            echo "<span class=\"icos-cog4\"></span><h5>Evaluado : ";
            echo twig_escape_filter($this->env, (((($this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "names") . " ") . $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "surname")) . " ") . $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "lastname")), "html", null, true);
            echo "</h5>
";
        }
    }

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

";
        // line 33
        if (((isset($context["page"]) ? $context["page"] : null) == 1)) {
            // line 34
            echo "<p class=\"mainDescription\">";
            echo $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "description");
            echo "</p>
";
        }
        // line 36
        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: ";
        // line 46
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute((isset($context["advanced"]) ? $context["advanced"] : null), "percentage"), 2), "html", null, true);
        echo "%; \"></div>
              </div>
              <div class=\"containerCountText\"><label class=\"countText\"><strong>";
        // line 48
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["advanced"]) ? $context["advanced"] : null), "percentage"), "html", null, true);
        echo "%</strong> | Has respondido ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["advanced"]) ? $context["advanced"] : null), "resolveds"), "html", null, true);
        echo " preguntas de ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["advanced"]) ? $context["advanced"] : null), "quantity"), "html", null, true);
        echo "</label></div>
            </div>
        </div>
    </div>
    <!-- /.advancedBarPoll -->
    
    <div class=\"dashboard fluid clearfix\">

        <form action=\"";
        // line 56
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_evaluateds_edit", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "pollapplicationid" => $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "id"), "page" => (isset($context["page"]) ? $context["page"] : null), "token" => (isset($context["token"]) ? $context["token"] : null))), "html", null, true);
        echo "\" method=\"post\" class=\"\" accept-charset=\"utf-8\">
            
            ";
        // line 58
        echo (isset($context["paginator"]) ? $context["paginator"] : null);
        echo "
            
            ";
        // line 60
        if (((isset($context["alignment"]) ? $context["alignment"] : null) == "vertical")) {
            // line 61
            echo "            ";
            echo $this->env->getExtension('fishman_extension')->pollQuestionsFunction((isset($context["questions"]) ? $context["questions"] : null));
            echo "
            ";
        } else {
            // line 63
            echo "            ";
            echo $this->env->getExtension('fishman_extension')->pollQuestionsHorizontalFunction((isset($context["questions"]) ? $context["questions"] : null));
            echo "
            ";
        }
        // line 65
        echo "            
            <input type=\"hidden\" name=\"current_page\" id=\"page_";
        // line 66
        echo twig_escape_filter($this->env, (isset($context["page"]) ? $context["page"] : null), "html", null, true);
        echo "\" value=\"";
        echo twig_escape_filter($this->env, (isset($context["page"]) ? $context["page"] : null), "html", null, true);
        echo "\" >';
            
            ";
        // line 68
        echo (isset($context["paginator"]) ? $context["paginator"] : null);
        echo "
            
            <div class=\"menuCrud clearfix\">
                <ul class=\"record_actions\">
                    <li>
                        <button type=\"submit\" name=\"savedraft\" value=\"1\" class=\"sideB bGreyish mt10\">Guardar</button>
                    </li>
                    ";
        // line 75
        if (((isset($context["viewsendbutton"]) ? $context["viewsendbutton"] : null) == 1)) {
            // line 76
            echo "                    <li>
                        <button type=\"submit\" name=\"send\" value=\"1\" class=\"sideB bGreyish mt10\">Enviar Encuesta</button>
                    </li>
                    ";
        }
        // line 80
        echo "                </ul>
            </div>
        
        </form>
        
    </div>
    
</div>
<!-- /.dataList -->

";
    }

    public function getTemplateName()
    {
        return "FishmanFrontEndBundle:Dashboard/Poll:edit_token.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  168 => 80,  162 => 76,  160 => 75,  150 => 68,  143 => 66,  140 => 65,  134 => 63,  128 => 61,  126 => 60,  121 => 58,  116 => 56,  101 => 48,  96 => 46,  84 => 36,  78 => 34,  76 => 33,  71 => 31,  68 => 30,  60 => 26,  58 => 25,  55 => 24,  47 => 20,  41 => 18,  39 => 17,  36 => 16,  32 => 4,  29 => 3,);
    }
}
