<?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;

/* suivi_pta/upload_form.html.twig */
class __TwigTemplate_5ed9983f3af13bbbe02fa02f70882c8b 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'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "@AdminLTE/layout/suiodd-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", "suivi_pta/upload_form.html.twig"));

        $this->parent = $this->load("@AdminLTE/layout/suiodd-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("upload.pta.title", [], "messages");
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 6
    /**
     * @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 7
        yield "    ";
        if ((($tmp = (isset($context["etat"]) || array_key_exists("etat", $context) ? $context["etat"] : (function () { throw new RuntimeError('Variable "etat" does not exist.', 7, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 8
            yield "
    <div class=\"row\">
        <div class=\"col-sm-6\">
            ";
            // line 11
            if ((($tmp =  !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 12
                yield "            <div class=\"text-left\">
                <a href=\"";
                // line 13
                yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_suivi_pta_format");
                yield "\" class=\"mb-2 mr-2 btn-shadow  btn btn-primary text-right ";
                yield (((($tmp = (isset($context["etat"]) || array_key_exists("etat", $context) ? $context["etat"] : (function () { throw new RuntimeError('Variable "etat" does not exist.', 13, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("disabled"));
                yield "\">
                    <i class=\"fa fa-save\"></i> ";
                // line 14
                yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("chargement.vide", [], "messages");
                // line 15
                yield "                </a>
            </div>
            ";
            }
            // line 18
            yield "        </div>
        <div class=\"col-sm-6\">
            <div class=\"text-right\">
                <a href=\"";
            // line 21
            yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_suiviPTA");
            yield "\" class=\"mb-2 mr-2 btn-shadow  btn btn-warning text-right\">
                    <i class=\"fa fa-check\"></i> Suivi du PTA
                </a>
            </div>
        </div>
    </div>
    
    ";
            // line 28
            if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 29
                yield "    ";
                yield from $this->load("suivi_pta/upload_form.html.twig", 29, "1866710251")->unwrap()->yield($context);
                // line 46
                yield "    ";
            }
            // line 47
            yield "

    ";
            // line 49
            yield from $this->load("suivi_pta/upload_form.html.twig", 49, "1453655617")->unwrap()->yield($context);
            // line 66
            yield "
    ";
        } else {
            // line 68
            yield "        <div class=\"alert alert-info\">
            Vous ne pouvez pas charger les activités du PTA. Veuillez contacter la DGCS-ODD.
      </div>
    ";
        }
        // line 72
        yield "
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 75
    /**
     * @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 76
        yield "<script>
    \$(document).on('change', '.custom-file-input', function() {
        let fileName = \$(this).val().replace(/\\\\/g, '/').replace(/.*\\//, '');
        \$(this).parent('.custom-file').find('.custom-file-label').text(fileName);
    });
</script>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  170 => 76,  160 => 75,  151 => 72,  145 => 68,  141 => 66,  139 => 49,  135 => 47,  132 => 46,  129 => 29,  127 => 28,  117 => 21,  112 => 18,  107 => 15,  105 => 14,  99 => 13,  96 => 12,  94 => 11,  89 => 8,  86 => 7,  76 => 6,  59 => 3,  42 => 1,);
    }

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

{% block page_title %}{% trans %}upload.pta.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% if etat %}

    <div class=\"row\">
        <div class=\"col-sm-6\">
            {% if not is_granted('ROLE_MANAGER') %}
            <div class=\"text-left\">
                <a href=\"{{ path('app_suivi_pta_format') }}\" class=\"mb-2 mr-2 btn-shadow  btn btn-primary text-right {{etat  ? '' : 'disabled'}}\">
                    <i class=\"fa fa-save\"></i> {% trans %}chargement.vide{% endtrans %}
                </a>
            </div>
            {% endif %}
        </div>
        <div class=\"col-sm-6\">
            <div class=\"text-right\">
                <a href=\"{{ path('app_suiviPTA') }}\" class=\"mb-2 mr-2 btn-shadow  btn btn-warning text-right\">
                    <i class=\"fa fa-check\"></i> Suivi du PTA
                </a>
            </div>
        </div>
    </div>
    
    {% if is_granted('ROLE_MANAGER') %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(formFormat) }}
                <div class=\"card-body\">    
                    
                    {{ form_widget(formFormat) }}

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">Télécharger format vide</button>
                        </div>
                    </div>
                </div>
            {{ form_end(formFormat) }}
        {% endblock %}
    {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"card-body\">    
                    
                    {{ form_widget(form) }}

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.charge{% endtrans %}</button>
                        </div>
                    </div>
                </div>
            {{ form_end(form) }}
        {% endblock %}
    {% endembed %}

    {% else %}
        <div class=\"alert alert-info\">
            Vous ne pouvez pas charger les activités du PTA. Veuillez contacter la DGCS-ODD.
      </div>
    {% endif %}

{% endblock %}

{% block javascripts %}
<script>
    \$(document).on('change', '.custom-file-input', function() {
        let fileName = \$(this).val().replace(/\\\\/g, '/').replace(/.*\\//, '');
        \$(this).parent('.custom-file').find('.custom-file-label').text(fileName);
    });
</script>
{% endblock %}", "suivi_pta/upload_form.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_pta/upload_form.html.twig");
    }
}


/* suivi_pta/upload_form.html.twig */
class __TwigTemplate_5ed9983f3af13bbbe02fa02f70882c8b___1866710251 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 29
        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", "suivi_pta/upload_form.html.twig"));

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

    }

    // line 30
    /**
     * @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 31
        yield "            ";
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formFormat"]) || array_key_exists("formFormat", $context) ? $context["formFormat"] : (function () { throw new RuntimeError('Variable "formFormat" does not exist.', 31, $this->source); })()), 'form_start');
        yield "
                <div class=\"card-body\">    
                    
                    ";
        // line 34
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["formFormat"]) || array_key_exists("formFormat", $context) ? $context["formFormat"] : (function () { throw new RuntimeError('Variable "formFormat" does not exist.', 34, $this->source); })()), 'widget');
        yield "

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">Télécharger format vide</button>
                        </div>
                    </div>
                </div>
            ";
        // line 43
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formFormat"]) || array_key_exists("formFormat", $context) ? $context["formFormat"] : (function () { throw new RuntimeError('Variable "formFormat" does not exist.', 43, $this->source); })()), 'form_end');
        yield "
        ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  364 => 43,  352 => 34,  345 => 31,  335 => 30,  318 => 29,  170 => 76,  160 => 75,  151 => 72,  145 => 68,  141 => 66,  139 => 49,  135 => 47,  132 => 46,  129 => 29,  127 => 28,  117 => 21,  112 => 18,  107 => 15,  105 => 14,  99 => 13,  96 => 12,  94 => 11,  89 => 8,  86 => 7,  76 => 6,  59 => 3,  42 => 1,);
    }

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

{% block page_title %}{% trans %}upload.pta.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% if etat %}

    <div class=\"row\">
        <div class=\"col-sm-6\">
            {% if not is_granted('ROLE_MANAGER') %}
            <div class=\"text-left\">
                <a href=\"{{ path('app_suivi_pta_format') }}\" class=\"mb-2 mr-2 btn-shadow  btn btn-primary text-right {{etat  ? '' : 'disabled'}}\">
                    <i class=\"fa fa-save\"></i> {% trans %}chargement.vide{% endtrans %}
                </a>
            </div>
            {% endif %}
        </div>
        <div class=\"col-sm-6\">
            <div class=\"text-right\">
                <a href=\"{{ path('app_suiviPTA') }}\" class=\"mb-2 mr-2 btn-shadow  btn btn-warning text-right\">
                    <i class=\"fa fa-check\"></i> Suivi du PTA
                </a>
            </div>
        </div>
    </div>
    
    {% if is_granted('ROLE_MANAGER') %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(formFormat) }}
                <div class=\"card-body\">    
                    
                    {{ form_widget(formFormat) }}

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">Télécharger format vide</button>
                        </div>
                    </div>
                </div>
            {{ form_end(formFormat) }}
        {% endblock %}
    {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"card-body\">    
                    
                    {{ form_widget(form) }}

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.charge{% endtrans %}</button>
                        </div>
                    </div>
                </div>
            {{ form_end(form) }}
        {% endblock %}
    {% endembed %}

    {% else %}
        <div class=\"alert alert-info\">
            Vous ne pouvez pas charger les activités du PTA. Veuillez contacter la DGCS-ODD.
      </div>
    {% endif %}

{% endblock %}

{% block javascripts %}
<script>
    \$(document).on('change', '.custom-file-input', function() {
        let fileName = \$(this).val().replace(/\\\\/g, '/').replace(/.*\\//, '');
        \$(this).parent('.custom-file').find('.custom-file-label').text(fileName);
    });
</script>
{% endblock %}", "suivi_pta/upload_form.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_pta/upload_form.html.twig");
    }
}


/* suivi_pta/upload_form.html.twig */
class __TwigTemplate_5ed9983f3af13bbbe02fa02f70882c8b___1453655617 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 49
        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", "suivi_pta/upload_form.html.twig"));

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

    }

    // line 50
    /**
     * @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 51
        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.', 51, $this->source); })()), 'form_start');
        yield "
                <div class=\"card-body\">    
                    
                    ";
        // line 54
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 54, $this->source); })()), 'widget');
        yield "

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">";
        // line 59
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.charge", [], "messages");
        yield "</button>
                        </div>
                    </div>
                </div>
            ";
        // line 63
        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.', 63, $this->source); })()), 'form_end');
        yield "
        ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  557 => 63,  550 => 59,  542 => 54,  535 => 51,  525 => 50,  508 => 49,  364 => 43,  352 => 34,  345 => 31,  335 => 30,  318 => 29,  170 => 76,  160 => 75,  151 => 72,  145 => 68,  141 => 66,  139 => 49,  135 => 47,  132 => 46,  129 => 29,  127 => 28,  117 => 21,  112 => 18,  107 => 15,  105 => 14,  99 => 13,  96 => 12,  94 => 11,  89 => 8,  86 => 7,  76 => 6,  59 => 3,  42 => 1,);
    }

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

{% block page_title %}{% trans %}upload.pta.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% if etat %}

    <div class=\"row\">
        <div class=\"col-sm-6\">
            {% if not is_granted('ROLE_MANAGER') %}
            <div class=\"text-left\">
                <a href=\"{{ path('app_suivi_pta_format') }}\" class=\"mb-2 mr-2 btn-shadow  btn btn-primary text-right {{etat  ? '' : 'disabled'}}\">
                    <i class=\"fa fa-save\"></i> {% trans %}chargement.vide{% endtrans %}
                </a>
            </div>
            {% endif %}
        </div>
        <div class=\"col-sm-6\">
            <div class=\"text-right\">
                <a href=\"{{ path('app_suiviPTA') }}\" class=\"mb-2 mr-2 btn-shadow  btn btn-warning text-right\">
                    <i class=\"fa fa-check\"></i> Suivi du PTA
                </a>
            </div>
        </div>
    </div>
    
    {% if is_granted('ROLE_MANAGER') %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(formFormat) }}
                <div class=\"card-body\">    
                    
                    {{ form_widget(formFormat) }}

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">Télécharger format vide</button>
                        </div>
                    </div>
                </div>
            {{ form_end(formFormat) }}
        {% endblock %}
    {% endembed %}
    {% endif %}


    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"card-body\">    
                    
                    {{ form_widget(form) }}

                    <div class=\"form-group row\">
                        <div class=\"col-sm-2\"></div>
                        <div class=\"col-sm-offset-2 col-sm-10\">
                            <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.charge{% endtrans %}</button>
                        </div>
                    </div>
                </div>
            {{ form_end(form) }}
        {% endblock %}
    {% endembed %}

    {% else %}
        <div class=\"alert alert-info\">
            Vous ne pouvez pas charger les activités du PTA. Veuillez contacter la DGCS-ODD.
      </div>
    {% endif %}

{% endblock %}

{% block javascripts %}
<script>
    \$(document).on('change', '.custom-file-input', function() {
        let fileName = \$(this).val().replace(/\\\\/g, '/').replace(/.*\\//, '');
        \$(this).parent('.custom-file').find('.custom-file-label').text(fileName);
    });
</script>
{% endblock %}", "suivi_pta/upload_form.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_pta/upload_form.html.twig");
    }
}
