<?php

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

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

        $this->blocks = array(
            'customheader' => array($this, 'block_customheader'),
            '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_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
        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 "
";
    }

    // line 20
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 21
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 24
    public function block_navigation($context, array $blocks = array())
    {
        // line 25
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 28
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 29
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 30
        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 31
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll", array("pollid" => $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 32
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_evaluateds", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">Evaluar</a></li>
    <li class=\"current\"><a href=\"";
        // line 33
        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"))), "html", null, true);
        echo "\">Resolver</a></li>
</ul>
";
    }

    // line 37
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 38
        if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type") != "not_evaluateds")) {
            // line 39
            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 43
    public function block_content($context, array $blocks = array())
    {
        // line 44
        $this->displayParentBlock("content", $context, $blocks);
        echo "

";
        // line 46
        if (((isset($context["page"]) ? $context["page"] : null) == 1)) {
            // line 47
            echo "<p class=\"mainDescription\">";
            echo $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "description");
            echo "</p>
";
        }
        // line 49
        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 59
        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 61
        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 69
        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))), "html", null, true);
        echo "\" method=\"post\" class=\"\" accept-charset=\"utf-8\">
            
            ";
        // line 71
        echo (isset($context["paginator"]) ? $context["paginator"] : null);
        echo "
            
            ";
        // line 73
        if (((isset($context["alignment"]) ? $context["alignment"] : null) == "vertical")) {
            // line 74
            echo "            ";
            echo $this->env->getExtension('fishman_extension')->pollQuestionsFunction((isset($context["questions"]) ? $context["questions"] : null));
            echo "
            ";
        } else {
            // line 76
            echo "            ";
            echo $this->env->getExtension('fishman_extension')->pollQuestionsHorizontalFunction((isset($context["questions"]) ? $context["questions"] : null));
            echo "
            ";
        }
        // line 78
        echo "            
            <input type=\"hidden\" name=\"current_page\" id=\"page_";
        // line 79
        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 81
        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 88
        if (((isset($context["viewsendbutton"]) ? $context["viewsendbutton"] : null) == 1)) {
            // line 89
            echo "                    <li>
                        <button type=\"submit\" name=\"send\" value=\"1\" class=\"sideB bGreyish mt10\">Enviar Encuesta</button>
                    </li>
                    ";
        }
        // line 93
        echo "                </ul>
            </div>
        
        </form>
        
    </div>
    
</div>
<!-- /.dataList -->

";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  203 => 93,  197 => 89,  195 => 88,  185 => 81,  178 => 79,  175 => 78,  169 => 76,  163 => 74,  161 => 73,  156 => 71,  151 => 69,  136 => 61,  131 => 59,  119 => 49,  113 => 47,  111 => 46,  106 => 44,  103 => 43,  95 => 39,  93 => 38,  90 => 37,  83 => 33,  79 => 32,  73 => 31,  69 => 30,  66 => 29,  63 => 28,  59 => 25,  56 => 24,  52 => 21,  49 => 20,  42 => 17,  39 => 16,  35 => 4,  32 => 3,);
    }
}
