<?php

/* GestionBundle:VersionProduit:index.html.twig */
class __TwigTemplate_533f545bb97aa6d5a9f07d17cdb1f04803ee9c7521d8c444638705d244620665 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("GestionBundle:Layout:baseAdmin.html.twig", "GestionBundle:VersionProduit:index.html.twig", 1);
        $this->blocks = array(
            'content' => array($this, 'block_content'),
        );
    }

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

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_22449617169d5977703149418e3cb775dded422688b5d23dc9847ad3ebce9288 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_22449617169d5977703149418e3cb775dded422688b5d23dc9847ad3ebce9288->enter($__internal_22449617169d5977703149418e3cb775dded422688b5d23dc9847ad3ebce9288_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "GestionBundle:VersionProduit:index.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_22449617169d5977703149418e3cb775dded422688b5d23dc9847ad3ebce9288->leave($__internal_22449617169d5977703149418e3cb775dded422688b5d23dc9847ad3ebce9288_prof);

    }

    // line 4
    public function block_content($context, array $blocks = array())
    {
        $__internal_0ab9bf39d3de6f9d3edeab3c777559622bf3a53ac12e1d526457b6100f36e4f4 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_0ab9bf39d3de6f9d3edeab3c777559622bf3a53ac12e1d526457b6100f36e4f4->enter($__internal_0ab9bf39d3de6f9d3edeab3c777559622bf3a53ac12e1d526457b6100f36e4f4_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));

        // line 5
        echo "    <nav class=\"navbar navbar-fixed-top navbar-dark bg-inverse\">
        <a class=\"navbar-brand\" href=\"";
        // line 6
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_homepage");
        echo "\" style=\"margin-right: 100px\">GPC : Espace Admin</a>
        <ul class=\"nav navbar-nav\">
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 9
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("composant_index");
        echo "\">Composant Logiciel<span class=\"sr-only\">(current)</span></a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 12
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("produit_index");
        echo "\">Produit Logiciel</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 15
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("version_index");
        echo "\">Version Composant</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link active\" href=\"";
        // line 18
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("version_produit_index");
        echo "\">Version Produit</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 21
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_homepage_users");
        echo "\">Utilisateur</a>
            </li>
            <li class=\"nav-item\">
                <a style=\"margin-left: 150px;\" class=\"nav-link\" href=\"";
        // line 24
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("fos_user_security_logout");
        echo "\">Déconnexion</a>
            </li>
        </ul>
    </nav>

    <div class=\"container\">
        <div class=\"starter-template\">
            <h1>List des Versions des Produits Logiciel</h1>
            <br>
            <div style=\"text-align: left; margin: 10px;\">
                <a class=\"btn btn-primary\" href=\"";
        // line 34
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("version_produit_new");
        echo "\">Ajouter</a>
            </div>
            <table class=\"table table-striped\" style=\"text-align: left\">
                <thead>
                    <tr>
                        <th>Produit</th>
                        <th>Version</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                    ";
        // line 45
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["versions"]) ? $context["versions"] : $this->getContext($context, "versions")));
        foreach ($context['_seq'] as $context["_key"] => $context["version"]) {
            // line 46
            echo "                        <tr>
                            <td>";
            // line 47
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["version"], "prod", array()), "titre", array()), "html", null, true);
            echo "</td>
                            <td>";
            // line 48
            echo twig_escape_filter($this->env, $this->getAttribute($context["version"], "version", array()), "html", null, true);
            echo "</td>
                            <td>
                                <a class=\"btn\" href=\"";
            // line 50
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("version_produit_show", array("id" => $this->getAttribute($context["version"], "id", array()))), "html", null, true);
            echo "\"><i class=\"fa fa-list-alt\"></i></a>

                                <a class=\"btn\" href=\"";
            // line 52
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("version_produit_edit", array("id" => $this->getAttribute($context["version"], "id", array()))), "html", null, true);
            echo "\"><i class=\"fa fa-pencil-square-o\"></i></a>
                            </td>
                        </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['version'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 56
        echo "                </tbody>
            </table>
        </div>

    </div>
";
        
        $__internal_0ab9bf39d3de6f9d3edeab3c777559622bf3a53ac12e1d526457b6100f36e4f4->leave($__internal_0ab9bf39d3de6f9d3edeab3c777559622bf3a53ac12e1d526457b6100f36e4f4_prof);

    }

    public function getTemplateName()
    {
        return "GestionBundle:VersionProduit:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  137 => 56,  127 => 52,  122 => 50,  117 => 48,  113 => 47,  110 => 46,  106 => 45,  92 => 34,  79 => 24,  73 => 21,  67 => 18,  61 => 15,  55 => 12,  49 => 9,  43 => 6,  40 => 5,  34 => 4,  11 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("{% extends 'GestionBundle:Layout:baseAdmin.html.twig' %}


{% block content %}
    <nav class=\"navbar navbar-fixed-top navbar-dark bg-inverse\">
        <a class=\"navbar-brand\" href=\"{{path('admin_homepage')}}\" style=\"margin-right: 100px\">GPC : Espace Admin</a>
        <ul class=\"nav navbar-nav\">
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('composant_index')}}\">Composant Logiciel<span class=\"sr-only\">(current)</span></a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('produit_index')}}\">Produit Logiciel</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('version_index')}}\">Version Composant</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link active\" href=\"{{path('version_produit_index')}}\">Version Produit</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('admin_homepage_users')}}\">Utilisateur</a>
            </li>
            <li class=\"nav-item\">
                <a style=\"margin-left: 150px;\" class=\"nav-link\" href=\"{{ path('fos_user_security_logout') }}\">Déconnexion</a>
            </li>
        </ul>
    </nav>

    <div class=\"container\">
        <div class=\"starter-template\">
            <h1>List des Versions des Produits Logiciel</h1>
            <br>
            <div style=\"text-align: left; margin: 10px;\">
                <a class=\"btn btn-primary\" href=\"{{ path('version_produit_new') }}\">Ajouter</a>
            </div>
            <table class=\"table table-striped\" style=\"text-align: left\">
                <thead>
                    <tr>
                        <th>Produit</th>
                        <th>Version</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                    {% for version in versions %}
                        <tr>
                            <td>{{ version.prod.titre }}</td>
                            <td>{{ version.version }}</td>
                            <td>
                                <a class=\"btn\" href=\"{{ path('version_produit_show', { 'id': version.id }) }}\"><i class=\"fa fa-list-alt\"></i></a>

                                <a class=\"btn\" href=\"{{ path('version_produit_edit', { 'id': version.id }) }}\"><i class=\"fa fa-pencil-square-o\"></i></a>
                            </td>
                        </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>

    </div>
{% endblock content %}", "GestionBundle:VersionProduit:index.html.twig", "/home/ferchich/public_html/extension/gpc/src/GestionBundle/Resources/views/VersionProduit/index.html.twig");
    }
}
