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

/* clients/_prototype_collection.html.twig */
class __TwigTemplate_e6de1503e67e1fd9f62e0b1a8e5bf121814c6bb41d1e11a83996f98ef81103bf extends Template
{
    private $source;
    private $macros = [];

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

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

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "clients/_prototype_collection.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "clients/_prototype_collection.html.twig"));

        // line 1
        yield "<input class='form-control ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("class_sup", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["class_sup"]) || array_key_exists("class_sup", $context) ? $context["class_sup"] : (function () { throw new RuntimeError('Variable "class_sup" does not exist.', 1, $this->source); })()), "")) : ("")), "html", null, true);
        yield "'  ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["disabled"]) || array_key_exists("disabled", $context) ? $context["disabled"] : (function () { throw new RuntimeError('Variable "disabled" does not exist.', 1, $this->source); })()), "html", null, true);
        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("data_disable", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["data_disable"]) || array_key_exists("data_disable", $context) ? $context["data_disable"] : (function () { throw new RuntimeError('Variable "data_disable" does not exist.', 1, $this->source); })()), "")) : ("")), "html", null, true);
        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("pattern", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["pattern"]) || array_key_exists("pattern", $context) ? $context["pattern"] : (function () { throw new RuntimeError('Variable "pattern" does not exist.', 1, $this->source); })()), "")) : ("")), "html", null, true);
        yield " type=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["type_1"]) || array_key_exists("type_1", $context) ? $context["type_1"] : (function () { throw new RuntimeError('Variable "type_1" does not exist.', 1, $this->source); })()), "html", null, true);
        yield "\" ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("minlength", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["minlength"]) || array_key_exists("minlength", $context) ? $context["minlength"] : (function () { throw new RuntimeError('Variable "minlength" does not exist.', 1, $this->source); })()), "")) : ("")), "html", null, true);
        yield "  ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("maxlength", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["maxlength"]) || array_key_exists("maxlength", $context) ? $context["maxlength"] : (function () { throw new RuntimeError('Variable "maxlength" does not exist.', 1, $this->source); })()), "")) : ("")), "html", null, true);
        yield "  name='";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name_input_1"]) || array_key_exists("name_input_1", $context) ? $context["name_input_1"] : (function () { throw new RuntimeError('Variable "name_input_1" does not exist.', 1, $this->source); })()), "html", null, true);
        yield "' value=\"";
        ((array_key_exists("value_1", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["value_1"]) || array_key_exists("value_1", $context) ? $context["value_1"] : (function () { throw new RuntimeError('Variable "value_1" does not exist.', 1, $this->source); })()), "html", null, true)) : (yield ""));
        yield "\" style=\"";
        ((array_key_exists("width", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["width"]) || array_key_exists("width", $context) ? $context["width"] : (function () { throw new RuntimeError('Variable "width" does not exist.', 1, $this->source); })()), "html", null, true)) : (yield ""));
        yield "\" form=\"form_client_update\">
";
        // line 2
        if (CoreExtension::inFilter("input_tel", ((array_key_exists("class_sup", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["class_sup"]) || array_key_exists("class_sup", $context) ? $context["class_sup"] : (function () { throw new RuntimeError('Variable "class_sup" does not exist.', 2, $this->source); })()), "")) : ("")))) {
            // line 3
            yield "    <input type=\"hidden\" name=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name_input_fr"]) || array_key_exists("name_input_fr", $context) ? $context["name_input_fr"] : (function () { throw new RuntimeError('Variable "name_input_fr" does not exist.', 3, $this->source); })()), "html", null, true);
            yield "\" value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["fr"]) || array_key_exists("fr", $context) ? $context["fr"] : (function () { throw new RuntimeError('Variable "fr" does not exist.', 3, $this->source); })()), "html", null, true);
            yield "\" form=\"form_client_update\">
    <div  class=\"me-2 telephone-fr ";
            // line 4
            yield (((isset($context["fr"]) || array_key_exists("fr", $context) ? $context["fr"] : (function () { throw new RuntimeError('Variable "fr" does not exist.', 4, $this->source); })())) ? ("") : ("opacity-25"));
            yield "\"
          style=\"width:16px;position: absolute;right: 18px;bottom: 5px;cursor:pointer\"
          data-target-input-fr=\"";
            // line 6
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name_input_fr"]) || array_key_exists("name_input_fr", $context) ? $context["name_input_fr"] : (function () { throw new RuntimeError('Variable "name_input_fr" does not exist.', 6, $this->source); })()), "html", null, true);
            yield "\"
          data-target-mask=\"";
            // line 7
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name_input_1"]) || array_key_exists("name_input_1", $context) ? $context["name_input_1"] : (function () { throw new RuntimeError('Variable "name_input_1" does not exist.', 7, $this->source); })()), "html", null, true);
            yield "\"
          data-disable-on-view=\"\"
    > ";
            // line 9
            yield Twig\Extension\CoreExtension::source($this->env, ("@public_path" . $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/fr.svg")));
            yield "
    </div>
";
        }
        // line 12
        yield "<a data-popup-id=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["popup_id"]) || array_key_exists("popup_id", $context) ? $context["popup_id"] : (function () { throw new RuntimeError('Variable "popup_id" does not exist.', 12, $this->source); })()), "html", null, true);
        yield "\" data-dxpopup=\"\" data-popup-title=\"Commentaire\" data-popup-width=\"auto\" >
    <i ";
        // line 13
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("data_disable", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["data_disable"]) || array_key_exists("data_disable", $context) ? $context["data_disable"] : (function () { throw new RuntimeError('Variable "data_disable" does not exist.', 13, $this->source); })()), "")) : ("")), "html", null, true);
        yield " class=\"fa collection-info has-info ";
        yield (((array_key_exists("value_2", $context) && (isset($context["value_2"]) || array_key_exists("value_2", $context) ? $context["value_2"] : (function () { throw new RuntimeError('Variable "value_2" does not exist.', 13, $this->source); })()))) ? (" fa-info-circle ") : (" fa-info invert"));
        yield "\"></i>
</a>
";
        // line 15
        if (array_key_exists("value_2", $context)) {
            yield "<div class=\"info-tooltip\">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["value_2"]) || array_key_exists("value_2", $context) ? $context["value_2"] : (function () { throw new RuntimeError('Variable "value_2" does not exist.', 15, $this->source); })()), "html", null, true);
            yield "</div>  ";
        }
        // line 16
        yield "<div id=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["popup_id"]) || array_key_exists("popup_id", $context) ? $context["popup_id"] : (function () { throw new RuntimeError('Variable "popup_id" does not exist.', 16, $this->source); })()), "html", null, true);
        yield "\" style=\"display: none;z-index:3333\">
    <input type=\"text\" style=\"width:345px\"  ";
        // line 17
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["disabled"]) || array_key_exists("disabled", $context) ? $context["disabled"] : (function () { throw new RuntimeError('Variable "disabled" does not exist.', 17, $this->source); })()), "html", null, true);
        yield " class=\"mx-4 m-4 form-control\" name=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name_input_2"]) || array_key_exists("name_input_2", $context) ? $context["name_input_2"] : (function () { throw new RuntimeError('Variable "name_input_2" does not exist.', 17, $this->source); })()), "html", null, true);
        yield "\" value=\"";
        ((array_key_exists("value_2", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["value_2"]) || array_key_exists("value_2", $context) ? $context["value_2"] : (function () { throw new RuntimeError('Variable "value_2" does not exist.', 17, $this->source); })()), "html", null, true)) : (yield ""));
        yield "\" form=\"form_client_update\">
    ";
        // line 18
        if (array_key_exists("name_input_3", $context)) {
            yield "<input type=\"hidden\"  name=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name_input_3"]) || array_key_exists("name_input_3", $context) ? $context["name_input_3"] : (function () { throw new RuntimeError('Variable "name_input_3" does not exist.', 18, $this->source); })()), "html", null, true);
            yield "\" value=\"";
            ((array_key_exists("value_3", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["value_3"]) || array_key_exists("value_3", $context) ? $context["value_3"] : (function () { throw new RuntimeError('Variable "value_3" does not exist.', 18, $this->source); })()), "html", null, true)) : (yield ""));
            yield "\" form=\"form_client_update \">";
        }
        // line 19
        yield "    ";
        if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 19, $this->source); })()), "getActif", [], "any", false, false, false, 19)) {
            // line 20
            yield "        <div class=\"form-group d-flex justify-content-center my-4\">
            <div class=\"form-actions-row\">
                <button  class=\"btn btn-success me-3 btn-close-popup\" data-dxpopup-id=\"";
            // line 22
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["popup_id"]) || array_key_exists("popup_id", $context) ? $context["popup_id"] : (function () { throw new RuntimeError('Variable "popup_id" does not exist.', 22, $this->source); })()), "html", null, true);
            yield "\" onclick=\"\$('#btn-save-client').click()\" >Valider</button>
                <button  class=\"btn btn-danger btn-close-popup\"  data-dxpopup-id=\"";
            // line 23
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["popup_id"]) || array_key_exists("popup_id", $context) ? $context["popup_id"] : (function () { throw new RuntimeError('Variable "popup_id" does not exist.', 23, $this->source); })()), "html", null, true);
            yield "\" type=\"button\" >Fermer</button>
            </div>
        </div>
    ";
        }
        // line 27
        yield "</div>";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "clients/_prototype_collection.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  153 => 27,  146 => 23,  142 => 22,  138 => 20,  135 => 19,  127 => 18,  119 => 17,  114 => 16,  108 => 15,  101 => 13,  96 => 12,  90 => 9,  85 => 7,  81 => 6,  76 => 4,  69 => 3,  67 => 2,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<input class='form-control {{ class_sup|default('') }}'  {{ disabled }} {{ data_disable|default('') }} {{ pattern|default('')}} type=\"{{ type_1 }}\" {{ minlength|default('')}}  {{ maxlength|default('')}}  name='{{ name_input_1 }}' value=\"{{ value_1 is defined ? value_1 : '' }}\" style=\"{{ width  is defined ? width : ''}}\" form=\"form_client_update\">
{% if 'input_tel' in class_sup|default('')  %}
    <input type=\"hidden\" name=\"{{ name_input_fr }}\" value=\"{{ fr }}\" form=\"form_client_update\">
    <div  class=\"me-2 telephone-fr {{ fr ? '' : 'opacity-25' }}\"
          style=\"width:16px;position: absolute;right: 18px;bottom: 5px;cursor:pointer\"
          data-target-input-fr=\"{{ name_input_fr }}\"
          data-target-mask=\"{{ name_input_1}}\"
          data-disable-on-view=\"\"
    > {{ source('@public_path'~asset('build/images/fr.svg')) }}
    </div>
{% endif %}
<a data-popup-id=\"{{ popup_id }}\" data-dxpopup=\"\" data-popup-title=\"Commentaire\" data-popup-width=\"auto\" >
    <i {{ data_disable|default('') }} class=\"fa collection-info has-info {{ value_2 is defined and value_2  ? ' fa-info-circle ' : ' fa-info invert' }}\"></i>
</a>
{% if value_2 is defined %}<div class=\"info-tooltip\">{{ value_2 }}</div>  {% endif %}
<div id=\"{{ popup_id }}\" style=\"display: none;z-index:3333\">
    <input type=\"text\" style=\"width:345px\"  {{ disabled }} class=\"mx-4 m-4 form-control\" name=\"{{ name_input_2 }}\" value=\"{{ value_2 is defined ? value_2 : '' }}\" form=\"form_client_update\">
    {% if name_input_3 is defined %}<input type=\"hidden\"  name=\"{{ name_input_3 }}\" value=\"{{ value_3 is defined ? value_3 : '' }}\" form=\"form_client_update \">{% endif %}
    {% if equipement.getActif %}
        <div class=\"form-group d-flex justify-content-center my-4\">
            <div class=\"form-actions-row\">
                <button  class=\"btn btn-success me-3 btn-close-popup\" data-dxpopup-id=\"{{ popup_id }}\" onclick=\"\$('#btn-save-client').click()\" >Valider</button>
                <button  class=\"btn btn-danger btn-close-popup\"  data-dxpopup-id=\"{{ popup_id }}\" type=\"button\" >Fermer</button>
            </div>
        </div>
    {% endif %}
</div>", "clients/_prototype_collection.html.twig", "/builds/dev/refonte_sav/templates/clients/_prototype_collection.html.twig");
    }
}
