<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* communes/depindicatorspacialise.html.twig */
class __TwigTemplate_dab9c66ed2686986dbf6ea96e4c4a32b extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'page_title' => [$this, 'block_page_title'],
            'page_content' => [$this, 'block_page_content'],
            'javascripts' => [$this, 'block_javascripts'],
            'stylesheets' => [$this, 'block_stylesheets'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "@AdminLTE/layout/ddd-layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "communes/depindicatorspacialise.html.twig"));

        $this->parent = $this->load("@AdminLTE/layout/ddd-layout.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));

        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Les indicateurs renseignables", [], "messages");
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 7
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_content"));

        // line 8
        yield "
";
        // line 9
        yield from $this->load("communes/depindicatorspacialise.html.twig", 9, "1438363863")->unwrap()->yield($context);
        // line 24
        yield "
";
        // line 25
        if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 26
            yield "        ";
            yield from $this->load("communes/depindicatorspacialise.html.twig", 26, "183395072")->unwrap()->yield($context);
            // line 35
            yield "    ";
        }
        // line 36
        yield "

    ";
        // line 38
        yield from $this->load("communes/depindicatorspacialise.html.twig", 38, "1248798750")->unwrap()->yield($context);
        // line 69
        yield "
";
        // line 70
        if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["indicators"]) || array_key_exists("indicators", $context) ? $context["indicators"] : (function () { throw new RuntimeError('Variable "indicators" does not exist.', 70, $this->source); })())) > 0)) {
            yield " 
<h3>Les indicateurs renseignables en lien avec les cibles spatialisées </h3>

    

    ";
            // line 75
            yield from $this->load("communes/depindicatorspacialise.html.twig", 75, "415081900")->unwrap()->yield($context);
        }
        // line 106
        yield " 
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 109
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_javascripts(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));

        // line 110
        yield "    <script>
        \$(function () {
            \$(\"#indicatorTable\").DataTable({
                \"pageLength\": 5
            });
        });
    </script>

    <script src=\"";
        // line 118
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("plugins/datatables/jquery.dataTables.js"), "html", null, true);
        yield "\"></script>
    <script src=\"";
        // line 119
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("plugins/datatables-bs4/js/dataTables.bootstrap4.js"), "html", null, true);
        yield "\"></script>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 122
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_stylesheets(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));

        // line 123
        yield "    <link rel=\"stylesheet\" href=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("plugins/datatables-bs4/css/dataTables.bootstrap4.css"), "html", null, true);
        yield "\">
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "communes/depindicatorspacialise.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  176 => 123,  166 => 122,  156 => 119,  152 => 118,  142 => 110,  132 => 109,  123 => 106,  120 => 75,  112 => 70,  109 => 69,  107 => 38,  103 => 36,  100 => 35,  97 => 26,  95 => 25,  92 => 24,  90 => 9,  87 => 8,  77 => 7,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/ddd-layout.html.twig' %}

{% block page_title %}{% trans %}Les indicateurs renseignables{% endtrans %}{% endblock %}



{% block page_content %}

{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.commune{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.commune) }}
                    </div>
                </div>
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

{% if is_granted('ROLE_MANAGER') %}
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
            <div class=\"text-right\">
                <a href=\"{{ path('app_indicator_new') }}\" class=\"btn btn-primary text-right\">
                    <i class=\"fa fa-plus\"></i> {% trans %}indicator.add{% endtrans %}
                </a>
            </div>
            {% endblock %}
        {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in allindicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}

{% if indicators|length > 0 %} 
<h3>Les indicateurs renseignables en lien avec les cibles spatialisées </h3>

    

    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in indicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}
{% endif %} 
{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#indicatorTable\").DataTable({
                \"pageLength\": 5
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}", "communes/depindicatorspacialise.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/communes/depindicatorspacialise.html.twig");
    }
}


/* communes/depindicatorspacialise.html.twig */
class __TwigTemplate_dab9c66ed2686986dbf6ea96e4c4a32b___1438363863 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'box_body' => [$this, 'block_box_body'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 9
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "communes/depindicatorspacialise.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 9);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 10
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_body"));

        // line 11
        yield "            ";
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 11, $this->source); })()), 'form_start');
        yield "
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">";
        // line 14
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.commune", [], "messages");
        yield "</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        ";
        // line 17
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 17, $this->source); })()), "commune", [], "any", false, false, false, 17), 'widget');
        yield "
                    </div>
                </div>
                
            ";
        // line 21
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 21, $this->source); })()), 'form_end');
        yield "    
        ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "communes/depindicatorspacialise.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  410 => 21,  403 => 17,  397 => 14,  390 => 11,  380 => 10,  363 => 9,  176 => 123,  166 => 122,  156 => 119,  152 => 118,  142 => 110,  132 => 109,  123 => 106,  120 => 75,  112 => 70,  109 => 69,  107 => 38,  103 => 36,  100 => 35,  97 => 26,  95 => 25,  92 => 24,  90 => 9,  87 => 8,  77 => 7,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/ddd-layout.html.twig' %}

{% block page_title %}{% trans %}Les indicateurs renseignables{% endtrans %}{% endblock %}



{% block page_content %}

{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.commune{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.commune) }}
                    </div>
                </div>
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

{% if is_granted('ROLE_MANAGER') %}
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
            <div class=\"text-right\">
                <a href=\"{{ path('app_indicator_new') }}\" class=\"btn btn-primary text-right\">
                    <i class=\"fa fa-plus\"></i> {% trans %}indicator.add{% endtrans %}
                </a>
            </div>
            {% endblock %}
        {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in allindicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}

{% if indicators|length > 0 %} 
<h3>Les indicateurs renseignables en lien avec les cibles spatialisées </h3>

    

    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in indicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}
{% endif %} 
{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#indicatorTable\").DataTable({
                \"pageLength\": 5
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}", "communes/depindicatorspacialise.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/communes/depindicatorspacialise.html.twig");
    }
}


/* communes/depindicatorspacialise.html.twig */
class __TwigTemplate_dab9c66ed2686986dbf6ea96e4c4a32b___183395072 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'box_body' => [$this, 'block_box_body'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 26
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "communes/depindicatorspacialise.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 26);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 27
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_body"));

        // line 28
        yield "            <div class=\"text-right\">
                <a href=\"";
        // line 29
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_indicator_new");
        yield "\" class=\"btn btn-primary text-right\">
                    <i class=\"fa fa-plus\"></i> ";
        // line 30
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("indicator.add", [], "messages");
        // line 31
        yield "                </a>
            </div>
            ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "communes/depindicatorspacialise.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  632 => 31,  630 => 30,  626 => 29,  623 => 28,  613 => 27,  596 => 26,  410 => 21,  403 => 17,  397 => 14,  390 => 11,  380 => 10,  363 => 9,  176 => 123,  166 => 122,  156 => 119,  152 => 118,  142 => 110,  132 => 109,  123 => 106,  120 => 75,  112 => 70,  109 => 69,  107 => 38,  103 => 36,  100 => 35,  97 => 26,  95 => 25,  92 => 24,  90 => 9,  87 => 8,  77 => 7,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/ddd-layout.html.twig' %}

{% block page_title %}{% trans %}Les indicateurs renseignables{% endtrans %}{% endblock %}



{% block page_content %}

{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.commune{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.commune) }}
                    </div>
                </div>
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

{% if is_granted('ROLE_MANAGER') %}
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
            <div class=\"text-right\">
                <a href=\"{{ path('app_indicator_new') }}\" class=\"btn btn-primary text-right\">
                    <i class=\"fa fa-plus\"></i> {% trans %}indicator.add{% endtrans %}
                </a>
            </div>
            {% endblock %}
        {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in allindicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}

{% if indicators|length > 0 %} 
<h3>Les indicateurs renseignables en lien avec les cibles spatialisées </h3>

    

    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in indicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}
{% endif %} 
{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#indicatorTable\").DataTable({
                \"pageLength\": 5
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}", "communes/depindicatorspacialise.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/communes/depindicatorspacialise.html.twig");
    }
}


/* communes/depindicatorspacialise.html.twig */
class __TwigTemplate_dab9c66ed2686986dbf6ea96e4c4a32b___1248798750 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'box_body' => [$this, 'block_box_body'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 38
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "communes/depindicatorspacialise.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 38);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 39
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_body"));

        // line 40
        yield "            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>";
        // line 42
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.code", [], "messages");
        yield "</th>
                <th>";
        // line 43
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.name", [], "messages");
        yield "</th>
                <th>";
        // line 44
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("indicator.target", [], "messages");
        yield "</th>
                ";
        // line 45
        if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 46
            yield "                    <th style=\"width: 100px\"></th>
                ";
        }
        // line 48
        yield "            </thead>
            <tbody>
            ";
        // line 50
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["allindicators"]) || array_key_exists("allindicators", $context) ? $context["allindicators"] : (function () { throw new RuntimeError('Variable "allindicators" does not exist.', 50, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["indicator"]) {
            // line 51
            yield "                <tr>
                    <td>";
            // line 52
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "code", [], "any", false, false, false, 52), "html", null, true);
            yield "</td>
                    <td>";
            // line 53
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "name", [], "any", false, false, false, 53), "html", null, true);
            yield "</td>
                    <td>";
            // line 54
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "target", [], "any", false, false, false, 54), "code", [], "any", false, false, false, 54), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "target", [], "any", false, false, false, 54), "name", [], "any", false, false, false, 54), "html", null, true);
            yield "</td>
                    ";
            // line 55
            if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 56
                yield "                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"";
                // line 58
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_indicator", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "id", [], "any", false, false, false, 58)]), "html", null, true);
                yield "\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">";
                yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.update", [], "messages");
                yield "</a>
                        </div>
                    </td>
                    ";
            }
            // line 62
            yield "                </tr>
            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['indicator'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 64
        yield "            </tbody>
            </table>
        ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "communes/depindicatorspacialise.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  914 => 64,  907 => 62,  898 => 58,  894 => 56,  892 => 55,  886 => 54,  882 => 53,  878 => 52,  875 => 51,  871 => 50,  867 => 48,  863 => 46,  861 => 45,  857 => 44,  853 => 43,  849 => 42,  845 => 40,  835 => 39,  818 => 38,  632 => 31,  630 => 30,  626 => 29,  623 => 28,  613 => 27,  596 => 26,  410 => 21,  403 => 17,  397 => 14,  390 => 11,  380 => 10,  363 => 9,  176 => 123,  166 => 122,  156 => 119,  152 => 118,  142 => 110,  132 => 109,  123 => 106,  120 => 75,  112 => 70,  109 => 69,  107 => 38,  103 => 36,  100 => 35,  97 => 26,  95 => 25,  92 => 24,  90 => 9,  87 => 8,  77 => 7,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/ddd-layout.html.twig' %}

{% block page_title %}{% trans %}Les indicateurs renseignables{% endtrans %}{% endblock %}



{% block page_content %}

{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.commune{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.commune) }}
                    </div>
                </div>
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

{% if is_granted('ROLE_MANAGER') %}
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
            <div class=\"text-right\">
                <a href=\"{{ path('app_indicator_new') }}\" class=\"btn btn-primary text-right\">
                    <i class=\"fa fa-plus\"></i> {% trans %}indicator.add{% endtrans %}
                </a>
            </div>
            {% endblock %}
        {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in allindicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}

{% if indicators|length > 0 %} 
<h3>Les indicateurs renseignables en lien avec les cibles spatialisées </h3>

    

    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in indicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}
{% endif %} 
{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#indicatorTable\").DataTable({
                \"pageLength\": 5
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}", "communes/depindicatorspacialise.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/communes/depindicatorspacialise.html.twig");
    }
}


/* communes/depindicatorspacialise.html.twig */
class __TwigTemplate_dab9c66ed2686986dbf6ea96e4c4a32b___415081900 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'box_body' => [$this, 'block_box_body'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 75
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "communes/depindicatorspacialise.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 75);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 76
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_body"));

        // line 77
        yield "            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>";
        // line 79
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.code", [], "messages");
        yield "</th>
                <th>";
        // line 80
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.name", [], "messages");
        yield "</th>
                <th>";
        // line 81
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("indicator.target", [], "messages");
        yield "</th>
                ";
        // line 82
        if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 83
            yield "                    <th style=\"width: 100px\"></th>
                ";
        }
        // line 85
        yield "            </thead>
            <tbody>
            ";
        // line 87
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["indicators"]) || array_key_exists("indicators", $context) ? $context["indicators"] : (function () { throw new RuntimeError('Variable "indicators" does not exist.', 87, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["indicator"]) {
            // line 88
            yield "                <tr>
                    <td>";
            // line 89
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "code", [], "any", false, false, false, 89), "html", null, true);
            yield "</td>
                    <td>";
            // line 90
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "name", [], "any", false, false, false, 90), "html", null, true);
            yield "</td>
                    <td>";
            // line 91
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "target", [], "any", false, false, false, 91), "code", [], "any", false, false, false, 91), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "target", [], "any", false, false, false, 91), "name", [], "any", false, false, false, 91), "html", null, true);
            yield "</td>
                    ";
            // line 92
            if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 93
                yield "                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"";
                // line 95
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_indicator", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["indicator"], "id", [], "any", false, false, false, 95)]), "html", null, true);
                yield "\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">";
                yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.update", [], "messages");
                yield "</a>
                        </div>
                    </td>
                    ";
            }
            // line 99
            yield "                </tr>
            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['indicator'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 101
        yield "            </tbody>
            </table>
        ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "communes/depindicatorspacialise.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  1196 => 101,  1189 => 99,  1180 => 95,  1176 => 93,  1174 => 92,  1168 => 91,  1164 => 90,  1160 => 89,  1157 => 88,  1153 => 87,  1149 => 85,  1145 => 83,  1143 => 82,  1139 => 81,  1135 => 80,  1131 => 79,  1127 => 77,  1117 => 76,  1100 => 75,  914 => 64,  907 => 62,  898 => 58,  894 => 56,  892 => 55,  886 => 54,  882 => 53,  878 => 52,  875 => 51,  871 => 50,  867 => 48,  863 => 46,  861 => 45,  857 => 44,  853 => 43,  849 => 42,  845 => 40,  835 => 39,  818 => 38,  632 => 31,  630 => 30,  626 => 29,  623 => 28,  613 => 27,  596 => 26,  410 => 21,  403 => 17,  397 => 14,  390 => 11,  380 => 10,  363 => 9,  176 => 123,  166 => 122,  156 => 119,  152 => 118,  142 => 110,  132 => 109,  123 => 106,  120 => 75,  112 => 70,  109 => 69,  107 => 38,  103 => 36,  100 => 35,  97 => 26,  95 => 25,  92 => 24,  90 => 9,  87 => 8,  77 => 7,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/ddd-layout.html.twig' %}

{% block page_title %}{% trans %}Les indicateurs renseignables{% endtrans %}{% endblock %}



{% block page_content %}

{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.commune{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.commune) }}
                    </div>
                </div>
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

{% if is_granted('ROLE_MANAGER') %}
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
            <div class=\"text-right\">
                <a href=\"{{ path('app_indicator_new') }}\" class=\"btn btn-primary text-right\">
                    <i class=\"fa fa-plus\"></i> {% trans %}indicator.add{% endtrans %}
                </a>
            </div>
            {% endblock %}
        {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in allindicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}

{% if indicators|length > 0 %} 
<h3>Les indicateurs renseignables en lien avec les cibles spatialisées </h3>

    

    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            <table id=\"indicatorTable\" class=\"table table-striped\">
            <thead>
                <th>{% trans %}basics.code{% endtrans %}</th>
                <th>{% trans %}basics.name{% endtrans %}</th>
                <th>{% trans %}indicator.target{% endtrans %}</th>
                {% if is_granted('ROLE_MANAGER') %}
                    <th style=\"width: 100px\"></th>
                {% endif %}
            </thead>
            <tbody>
            {% for indicator in indicators %}
                <tr>
                    <td>{{ indicator.code }}</td>
                    <td>{{ indicator.name }}</td>
                    <td>{{ indicator.target.code }} {{ indicator.target.name }}</td>
                    {% if is_granted('ROLE_MANAGER') %}
                    <td class=\"text-center\">
                        <div class=\"btn-group\">
                            <a href=\"{{ path('app_indicator', { 'id': indicator.id }) }}\" class=\"btn btn-sm btn-default\" role=\"button\" aria-pressed=\"true\">{% trans %}basics.update{% endtrans %}</a>
                        </div>
                    </td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
            </table>
        {% endblock %}
        
    {% endembed %}
{% endif %} 
{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#indicatorTable\").DataTable({
                \"pageLength\": 5
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}", "communes/depindicatorspacialise.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/communes/depindicatorspacialise.html.twig");
    }
}
