<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* popin/_user_login.html.twig */
class __TwigTemplate_3026d88f6d15d9dde458d06ed4aa0572 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'userLoginId' => [$this, 'block_userLoginId'],
'right_panel' => [$this, 'block_right_panel'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "popin/_user_login.html.twig"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "popin/_user_login.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "popin/_user_login.html.twig"));
// line 1
echo "<div id=\"";
$this->displayBlock('userLoginId', $context, $blocks);
echo "\" class=\"clearfix\">
<div class=\"grid-60 tab-p-60 m-100\">
<ul class=\"navbar-nav\">
<li class=\"nav-item active\">
<span><img src=\"";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/particuliers.svg"), "html", null, true);
echo "\" alt=\"\" /> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.private"), "html", null, true);
echo "</span>
<span><img src=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/societes.svg"), "html", null, true);
echo "\" alt=\"\" /> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.society"), "html", null, true);
echo "</span>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 9
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.pro"), "html", null, true);
echo "\">
<img src=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pros_2_auto.svg"), "html", null, true);
echo "\" alt=\"\" /> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.pro"), "html", null, true);
echo "
</a>
</li>
</ul>
<h3>";
// line 14
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.account.already");
echo "</h3>
";
// line 15
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("FOS\\UserBundle\\Controller\\SecurityController:loginAction"));
echo "
<p class=\"txtcenter\"><a href=\"#\" class=\"u-modal u-forgot lien01\">";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.password.forget"), "html", null, true);
echo "</a></p>
<p class=\"txtcenter grid-hide tab-l-hide tab-p-hide m-visible\">
<a href=\"#\" title=\"\" class=\"lien02 bt-cancel-login\">";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.action.cancel"), "html", null, true);
echo "</a>
</p>
</div>
<div class=\"grid-40 tab-p-40 m-100\">
<div class=\"empty-box\"></div>
<div class=\"background-grey\">
";
// line 24
$this->displayBlock('right_panel', $context, $blocks);
// line 45
echo " </div>
</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 1
public function block_userLoginId($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "userLoginId"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "userLoginId"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "userLoginId"));
echo "user-login";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 24
public function block_right_panel($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "right_panel"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "right_panel"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "right_panel"));
// line 25
echo " <h3>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.title01"), "html", null, true);
echo "</h3>
<div class=\"content-right-user\">
<p>";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.title02"), "html", null, true);
echo "</p>
<ul>
<li>";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.item01"), "html", null, true);
echo "</li>
<li>";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.item02"), "html", null, true);
echo "</li>
<li>";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.item03"), "html", null, true);
echo "</li>
</ul>
<p>
";
// line 34
if (twig_get_attribute($this->env, $this->source, ($context["vehicle"] ?? null), "id", [], "any", true, true, false, 34)) {
// line 35
echo " ";
$context["url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step", [twig_constant("App\\EventListener\\RegistrationListener::VEHICLE_ID") => twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 35, $this->source); })()), "id", [], "any", false, false, false, 35)]);
// line 36
echo " ";
} else {
// line 37
echo " ";
$context["url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step", ["step" => 2]);
// line 38
echo " ";
}
// line 39
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 39, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.profile.create"), "html", null, true);
echo "\" class=\"link_profile_create btn06\">
";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.profile.create"), "html", null, true);
echo "
</a>
</p>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "popin/_user_login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 209 => 40, 202 => 39, 199 => 38, 196 => 37, 193 => 36, 190 => 35, 188 => 34, 182 => 31, 178 => 30, 174 => 29, 169 => 27, 163 => 25, 150 => 24, 125 => 1, 109 => 45, 107 => 24, 98 => 18, 93 => 16, 89 => 15, 85 => 14, 76 => 10, 70 => 9, 62 => 6, 56 => 5, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<div id=\"{% block userLoginId %}user-login{% endblock userLoginId %}\" class=\"clearfix\">
<div class=\"grid-60 tab-p-60 m-100\">
<ul class=\"navbar-nav\">
<li class=\"nav-item active\">
<span><img src=\"{{ asset('bundles/vpauto/frontend/images/particuliers.svg') }}\" alt=\"\" /> {{ \"frontend.header.link.private\"|trans }}</span>
<span><img src=\"{{ asset('bundles/vpauto/frontend/images/societes.svg') }}\" alt=\"\" /> {{ \"frontend.header.link.society\"|trans }}</span>
</li>
<li class=\"nav-item\">
<a href=\"{{ getADUrl() }}\" title=\"{{ \"frontend.header.link.pro\"|trans }}\">
<img src=\"{{ asset('bundles/vpauto/frontend/images/pros_2_auto.svg') }}\" alt=\"\" /> {{ \"frontend.header.link.pro\"|trans }}
</a>
</li>
</ul>
<h3>{{ 'frontend.profile.account.already'|trans|raw }}</h3>
{{ render(controller(\"FOS\\\\UserBundle\\\\Controller\\\\SecurityController:loginAction\")) }}
<p class=\"txtcenter\"><a href=\"#\" class=\"u-modal u-forgot lien01\">{{ 'frontend.profile.password.forget'|trans }}</a></p>
<p class=\"txtcenter grid-hide tab-l-hide tab-p-hide m-visible\">
<a href=\"#\" title=\"\" class=\"lien02 bt-cancel-login\">{{ 'frontend.action.cancel'|trans }}</a>
</p>
</div>
<div class=\"grid-40 tab-p-40 m-100\">
<div class=\"empty-box\"></div>
<div class=\"background-grey\">
{% block right_panel %}
<h3>{{ 'frontend.profile.create_account.title01'|trans }}</h3>
<div class=\"content-right-user\">
<p>{{ 'frontend.profile.create_account.title02'|trans }}</p>
<ul>
<li>{{ 'frontend.profile.create_account.item01'|trans }}</li>
<li>{{ 'frontend.profile.create_account.item02'|trans }}</li>
<li>{{ 'frontend.profile.create_account.item03'|trans }}</li>
</ul>
<p>
{% if vehicle.id is defined %}
{% set url = path('registration_step', { (constant('App\\\\EventListener\\\\RegistrationListener::VEHICLE_ID')) : vehicle.id }) %}
{% else %}
{% set url = path('registration_step', {step: 2}) %}
{% endif %}
<a href=\"{{ url }}\" title=\"{{ 'frontend.header.profile.create'|trans }}\" class=\"link_profile_create btn06\">
{{ 'frontend.header.profile.create'|trans }}
</a>
</p>
</div>
{% endblock right_panel %}
</div>
</div>
</div>
", "popin/_user_login.html.twig", "/srv/templates/popin/_user_login.html.twig");
}
}