<?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\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig */
class __TwigTemplate_5282293df17f752da4eb58d3b19631ca 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->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig"));
// line 2
yield "
<div class=\"connection-screen__commercial-shell\">
<div class=\"Popup active connection-screen__auth connection-screen__auth--connection-proposition\">
<div class=\"Popup-body\">
";
// line 6
yield (string) $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.', 6, $this->source); })()), 'form_start', ["attr" => ["id" => "connection-form", "novalidate" => "novalidate", "data-url" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("customer_login"), "data-waiting-url" => $this->env->getFunction('suluUrlProviderGetPath')->getCallable()("customer_waiting_login_quote"), "data-success-url" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "get", ["quote"], "method", false, false, false, 6))) ? ($this->env->getFunction('getCustomerSpaceQuoteDetailsUrl')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "get", ["quote"], "method", false, false, false, 6))) : ($this->env->getFunction('getCustomerSpaceIndexUrl')->getCallable()()))]]);
yield "
<div class=\"top\">
";
// line 9
yield from $this->load("pages/_includes/icons/login/login-1.svg", 9)->unwrap()->yield($context);
// line 10
yield " <div class=\"h1\">";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login_modal.welcome"), "html", null, true);
yield "</div>
<div class=\"h2\">";
// line 11
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login_modal.subtitle"), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"text-danger errors\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"text-success success\"></div>
</div>
<div class=\"bottom\">
<div class=\"form-group\">
";
// line 18
yield (string) $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.', 18, $this->source); })()), "email", [], "any", false, false, false, 18), 'label');
yield "
";
// line 19
yield (string) $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.', 19, $this->source); })()), "email", [], "any", false, false, false, 19), 'widget', ["attr" => ["class" => "form-control", "placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login.email_placeholder")]]);
yield "
";
// line 20
yield (string) $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.', 20, $this->source); })()), "email", [], "any", false, false, false, 20), 'errors');
yield "
</div>
<div class=\"form-group\">
";
// line 24
yield (string) $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.', 24, $this->source); })()), "password", [], "any", false, false, false, 24), 'label');
yield "
<div class=\"input-group\">
";
// line 26
yield (string) $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.', 26, $this->source); })()), "password", [], "any", false, false, false, 26), 'widget', ["attr" => ["class" => "form-control connection-screen__password-input", "placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login.password_placeholder"), "type" => "password"]]);
// line 32
yield "
<span
class=\"input-group-text connection-screen__toggle-password\"
data-icon-state=\"closed\"
style=\"cursor: pointer;\"
title=\"";
// line 37
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.common.toggle_password_visibility"), "html", null, true);
yield "\"
>
<span class=\"icon-eye-closed\" style=\"display: none;\">";
// line 39
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("eye-off");
yield "</span>
<span class=\"icon-eye-open\">";
// line 40
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("eye");
yield "</span>
</span>
</div>
";
// line 43
yield (string) $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.', 43, $this->source); })()), "password", [], "any", false, false, false, 43), 'errors');
yield "
</div>
<div class=\"group-flex\">
<div class=\"\">
";
// line 48
yield (string) $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.', 48, $this->source); })()), "rememberMe", [], "any", false, false, false, 48), 'widget', ["attr" => ["class" => "form-check-input"]]);
yield "
";
// line 49
yield (string) $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.', 49, $this->source); })()), "rememberMe", [], "any", false, false, false, 49), 'label', ["label_attr" => ["class" => "form-check-label"]]);
yield "
</div>
<a href=\"";
// line 52
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "forgotPasswordLink", [], "any", true, true, false, 52) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 52, $this->source); })()), "forgotPasswordLink", [], "any", false, false, false, 52)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 52, $this->source); })()), "forgotPasswordLink", [], "any", false, false, false, 52), "html", null, true)) : ("#"));
yield "\" class=\"btn-link connection-screen__forgot-password-link\">
";
// line 53
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login.forgot_password"), "html", null, true);
yield "
</a>
</div>
<div class=\"form-group\">
";
// line 58
yield (string) $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.', 58, $this->source); })()), 'errors');
yield "
<div class=\"connection-screen__form-error alert alert-danger\" style=\"display: none;\"></div>
</div>
<div class=\"form-group connect\">
";
// line 63
yield (string) $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.', 63, $this->source); })()), "submit", [], "any", false, false, false, 63), 'widget', ["attr" => ["class" => "btn-secondary br1 btn style1 medium reverse_color"]]);
yield "
</div>
<div class=\"form-group subscribe\">
";
// line 67
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login.no_account"), "html", null, true);
yield " <a href=\"";
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "subscriptionLink", [], "any", true, true, false, 67) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 67, $this->source); })()), "subscriptionLink", [], "any", false, false, false, 67)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 67, $this->source); })()), "subscriptionLink", [], "any", false, false, false, 67), "html", null, true)) : ("#"));
yield "\" class=\"connection-screen__subscription-link\">";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login.sign_up"), "html", null, true);
yield "</a>
</div>
</div>
";
// line 70
yield (string) $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.', 70, $this->source); })()), 'form_end');
yield "
</div>
</div>
<div class=\"connection-screen__notice\">
<img src=\"";
// line 76
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/connection-screen/notice-commercial-proposition.png"), "html", null, true);
yield "\" alt=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.subscription.notice_image_alt"), "html", null, true);
yield "\">
<div class=\"h1\">";
// line 77
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.connection_commercial.title"), "html", null, true);
yield "</div>
<div class=\"h2\">
";
// line 79
yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.connection_commercial.description_1_html");
yield "
</div>
<div class=\"h2\">
";
// line 82
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.connection_commercial.description_2_prefix"), "html", null, true);
yield " <b><a href=\"";
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "subscriptionLink", [], "any", true, true, false, 82) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 82, $this->source); })()), "subscriptionLink", [], "any", false, false, false, 82)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 82, $this->source); })()), "subscriptionLink", [], "any", false, false, false, 82), "html", null, true)) : ("#"));
yield "\" class=\"connection-screen__subscription-link\">";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.connection_commercial.create_account_link"), "html", null, true);
yield "</a></b>";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.connection_commercial.description_2_suffix"), "html", null, true);
yield "
</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 203 => 82, 197 => 79, 192 => 77, 186 => 76, 177 => 70, 167 => 67, 160 => 63, 152 => 58, 144 => 53, 140 => 52, 134 => 49, 130 => 48, 122 => 43, 116 => 40, 112 => 39, 107 => 37, 100 => 32, 98 => 26, 93 => 24, 86 => 20, 82 => 19, 78 => 18, 68 => 11, 63 => 10, 61 => 9, 55 => 6, 49 => 2,);
}
public function getSourceContext(): Source
{
return new Source("{# Page — connexion (proposition commerciale) : deux blocs séparés (form + notice). #}
<div class=\"connection-screen__commercial-shell\">
<div class=\"Popup active connection-screen__auth connection-screen__auth--connection-proposition\">
<div class=\"Popup-body\">
{{ form_start(form, {\x27attr\x27: {\x27id\x27: \x27connection-form\x27, \x27novalidate\x27: \x27novalidate\x27, \x27data-url\x27: path(\x27customer_login\x27), \x27data-waiting-url\x27: suluUrlProviderGetPath(\x27customer_waiting_login_quote\x27), \x27data-success-url\x27: app.request.get(\x27quote\x27) is not null ? getCustomerSpaceQuoteDetailsUrl(app.request.get(\x27quote\x27)) : getCustomerSpaceIndexUrl()}}) }}
<div class=\"top\">
{% include \x27pages/_includes/icons/login/login-1.svg\x27 %}
<div class=\"h1\">{{ \x27auth.login_modal.welcome\x27|trans }}</div>
<div class=\"h2\">{{ \x27auth.login_modal.subtitle\x27|trans }}</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"text-danger errors\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"text-success success\"></div>
</div>
<div class=\"bottom\">
<div class=\"form-group\">
{{ form_label(form.email) }}
{{ form_widget(form.email, {\x27attr\x27: {\x27class\x27: \x27form-control\x27, \x27placeholder\x27: \x27auth.login.email_placeholder\x27|trans}}) }}
{{ form_errors(form.email) }}
</div>
<div class=\"form-group\">
{{ form_label(form.password) }}
<div class=\"input-group\">
{{ form_widget(form.password, {
\x27attr\x27: {
\x27class\x27: \x27form-control connection-screen__password-input\x27,
\x27placeholder\x27: \x27auth.login.password_placeholder\x27|trans,
\x27type\x27: \x27password\x27
}
}) }}
<span
class=\"input-group-text connection-screen__toggle-password\"
data-icon-state=\"closed\"
style=\"cursor: pointer;\"
title=\"{{ \x27auth.common.toggle_password_visibility\x27|trans }}\"
>
<span class=\"icon-eye-closed\" style=\"display: none;\">{{ getLucidIcon(\x27eye-off\x27) }}</span>
<span class=\"icon-eye-open\">{{ getLucidIcon(\x27eye\x27) }}</span>
</span>
</div>
{{ form_errors(form.password) }}
</div>
<div class=\"group-flex\">
<div class=\"\">
{{ form_widget(form.rememberMe, {\x27attr\x27: {\x27class\x27: \x27form-check-input\x27}}) }}
{{ form_label(form.rememberMe, null, {\x27label_attr\x27: {\x27class\x27: \x27form-check-label\x27}}) }}
</div>
<a href=\"{{ content.forgotPasswordLink ?? \x27#\x27 }}\" class=\"btn-link connection-screen__forgot-password-link\">
{{ \x27auth.login.forgot_password\x27|trans }}
</a>
</div>
<div class=\"form-group\">
{{ form_errors(form) }}
<div class=\"connection-screen__form-error alert alert-danger\" style=\"display: none;\"></div>
</div>
<div class=\"form-group connect\">
{{ form_widget(form.submit, {\x27attr\x27: {\x27class\x27: \x27btn-secondary br1 btn style1 medium reverse_color\x27}}) }}
</div>
<div class=\"form-group subscribe\">
{{ \x27auth.login.no_account\x27|trans }} <a href=\"{{ content.subscriptionLink ?? \x27#\x27 }}\" class=\"connection-screen__subscription-link\">{{ \x27auth.login.sign_up\x27|trans }}</a>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
<div class=\"connection-screen__notice\">
<img src=\"{{ asset(\x27img/connection-screen/notice-commercial-proposition.png\x27) }}\" alt=\"{{ \x27auth.subscription.notice_image_alt\x27|trans }}\">
<div class=\"h1\">{{ \x27auth.connection_commercial.title\x27|trans }}</div>
<div class=\"h2\">
{{ \x27auth.connection_commercial.description_1_html\x27|trans|raw }}
</div>
<div class=\"h2\">
{{ \x27auth.connection_commercial.description_2_prefix\x27|trans }} <b><a href=\"{{ content.subscriptionLink ?? \x27#\x27 }}\" class=\"connection-screen__subscription-link\">{{ \x27auth.connection_commercial.create_account_link\x27|trans }}</a></b>{{ \x27auth.connection_commercial.description_2_suffix\x27|trans }}
</div>
</div>
", "pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig");
}
}