<?php

/* VGMWOBundle:CUnit:index.html.twig */
class __TwigTemplate_067b5ec192d32ac8b4a0e898713cf9f1a22163da27edbf31caeff63d0e4df2ff extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("VGMWOBundle::layout.html.twig", "VGMWOBundle:CUnit:index.html.twig", 1);
        $this->blocks = array(
            'jumbotron_content' => array($this, 'block_jumbotron_content'),
            'content' => array($this, 'block_content'),
        );
    }

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

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

    // line 2
    public function block_jumbotron_content($context, array $blocks = array())
    {
        // line 3
        echo "    <div class=\"jumbotron\" style=\"padding-top: 10px; padding-bottom: 5px;\"  id=\"jumbotron\">
        <div class=\"container-fluid\">
            <div class=\"col-md-12 text-center\" style=\"padding-left: 0px;\">
                <H3 style=\"margin: 0px;\"><strong>Entities</strong></H3>
            </div>
        </div>
    </div>
";
    }

    // line 11
    public function block_content($context, array $blocks = array())
    {
        // line 12
        echo "    <div class=\"container\" style=\"min-height: 500px;\">
        <div class=\"table-responsive\">
            <table class=\"table table-striped table-hover\">
                <thead>
                <tr>
                    <th class=\"col-md-4\">Name</th>
                </tr>
                </thead>
                <tbody>
                ";
        // line 21
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities")));
        foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
            // line 22
            echo "                    <tr style=\"cursor: pointer;\"
                        onclick=\"location.href='";
            // line 23
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("unit_edit", array("id" => $this->getAttribute($context["entity"], "getId", array(), "method"))), "html", null, true);
            echo "'\">
                        <td>";
            // line 24
            echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "__toString", array(), "method"), "html", null, true);
            echo "</td>
                    </tr>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 27
        echo "                </tbody>
            </table>
            <div class=\"container-fluid\">
                <div class=\"col-lg-12 text-right\">
                    <a href=\"";
        // line 31
        echo $this->env->getExtension('routing')->getPath("unit_new");
        echo "\">
                        <span class=\"glyphicon glyphicon-plus-sign\"></span>
                        Create
                    </a>
                </div>
            </div>
        </div>
    </div>
";
    }

    public function getTemplateName()
    {
        return "VGMWOBundle:CUnit:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  83 => 31,  77 => 27,  68 => 24,  64 => 23,  61 => 22,  57 => 21,  46 => 12,  43 => 11,  32 => 3,  29 => 2,  11 => 1,);
    }
}
