<?php

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

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

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

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

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_24f91325b6e54d55fda27e9da981997a124e4f21388295a54da7e99d619a1101->leave($__internal_24f91325b6e54d55fda27e9da981997a124e4f21388295a54da7e99d619a1101_prof);

    }

    // line 4
    public function block_content($context, array $blocks = array())
    {
        $__internal_33400d60a2afe6419d73d55250652702f7109364a3514264bd81120226291ee3 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_33400d60a2afe6419d73d55250652702f7109364a3514264bd81120226291ee3->enter($__internal_33400d60a2afe6419d73d55250652702f7109364a3514264bd81120226291ee3_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("responsable_homepage");
        echo "\" style=\"margin-right: 100px\">GPC : Espace Responsable</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("responsable_composant_index");
        echo "\">Composant Logiciel<span class=\"sr-only\">(current)</span></a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link active\" href=\"";
        // line 12
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("responsable_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("responsable_version_index");
        echo "\">Version Composant</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 18
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("responsable_version_produit_index");
        echo "\">Version Produit</a>
            </li>
            <li class=\"nav-item\">
                <a style=\"margin-left: 150px;\" class=\"nav-link\" href=\"";
        // line 21
        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 Produits Logiciel</h1>
            <br>
            <div style=\"text-align: left; margin: 10px;\">
                <a class=\"btn btn-primary\" href=\"";
        // line 31
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("responsable_produit_new");
        echo "\">Ajouter</a>
            </div>
            <table class=\"table table-striped\" style=\"text-align: left\">
                <thead>
                    <tr>
                        <th>Id</th>
                        <th>Titre</th>
                        <th>Client</th>
                        <th>Etat</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                    ";
        // line 44
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["produits"]) ? $context["produits"] : $this->getContext($context, "produits")));
        foreach ($context['_seq'] as $context["_key"] => $context["produit"]) {
            // line 45
            echo "                        <tr>
                            <td><a href=\"";
            // line 46
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("responsable_produit_show", array("id" => $this->getAttribute($context["produit"], "id", array()))), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute($context["produit"], "id", array()), "html", null, true);
            echo "</a></td>
                            <td>";
            // line 47
            echo twig_escape_filter($this->env, $this->getAttribute($context["produit"], "titre", array()), "html", null, true);
            echo "</td>
                            <td>";
            // line 48
            echo twig_escape_filter($this->env, $this->getAttribute($context["produit"], "client", array()), "html", null, true);
            echo "</td>
                            <td>";
            // line 49
            echo twig_escape_filter($this->env, $this->getAttribute($context["produit"], "etat", array()), "html", null, true);
            echo "</td>
                            <td>
                                <a class=\"btn\" href=\"";
            // line 51
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("responsable_produit_show", array("id" => $this->getAttribute($context["produit"], "id", array()))), "html", null, true);
            echo "\"><i class=\"fa fa-list-alt\"></i></a>

                                <a class=\"btn\" href=\"";
            // line 53
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("responsable_produit_edit", array("id" => $this->getAttribute($context["produit"], "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['produit'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 57
        echo "                </tbody>
            </table>
        </div>

    </div>
";
        
        $__internal_33400d60a2afe6419d73d55250652702f7109364a3514264bd81120226291ee3->leave($__internal_33400d60a2afe6419d73d55250652702f7109364a3514264bd81120226291ee3_prof);

    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  143 => 57,  133 => 53,  128 => 51,  123 => 49,  119 => 48,  115 => 47,  109 => 46,  106 => 45,  102 => 44,  86 => 31,  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:baseResponsable.html.twig' %}


{% block content %}
    <nav class=\"navbar navbar-fixed-top navbar-dark bg-inverse\">
        <a class=\"navbar-brand\" href=\"{{path('responsable_homepage')}}\" style=\"margin-right: 100px\">GPC : Espace Responsable</a>
        <ul class=\"nav navbar-nav\">
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('responsable_composant_index')}}\">Composant Logiciel<span class=\"sr-only\">(current)</span></a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link active\" href=\"{{path('responsable_produit_index')}}\">Produit Logiciel</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('responsable_version_index')}}\">Version Composant</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('responsable_version_produit_index')}}\">Version Produit</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 Produits Logiciel</h1>
            <br>
            <div style=\"text-align: left; margin: 10px;\">
                <a class=\"btn btn-primary\" href=\"{{ path('responsable_produit_new') }}\">Ajouter</a>
            </div>
            <table class=\"table table-striped\" style=\"text-align: left\">
                <thead>
                    <tr>
                        <th>Id</th>
                        <th>Titre</th>
                        <th>Client</th>
                        <th>Etat</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                    {% for produit in produits %}
                        <tr>
                            <td><a href=\"{{ path('responsable_produit_show', { 'id': produit.id }) }}\">{{ produit.id }}</a></td>
                            <td>{{ produit.titre }}</td>
                            <td>{{ produit.client }}</td>
                            <td>{{ produit.etat }}</td>
                            <td>
                                <a class=\"btn\" href=\"{{ path('responsable_produit_show', { 'id': produit.id }) }}\"><i class=\"fa fa-list-alt\"></i></a>

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

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