var/cache/dev/fr/vpauto/twig/a5/a5401db2dde38d05786df25086957e34.php line 35

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* popin/_user_login.html.twig */
  14. class __TwigTemplate_3026d88f6d15d9dde458d06ed4aa0572 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'userLoginId' => [$this'block_userLoginId'],
  25.             'right_panel' => [$this'block_right_panel'],
  26.         ];
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""popin/_user_login.html.twig"));
  33.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  34.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""popin/_user_login.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""popin/_user_login.html.twig"));
  37.         // line 1
  38.         echo "<div id=\"";
  39.         $this->displayBlock('userLoginId'$context$blocks);
  40.         echo "\" class=\"clearfix\">
  41.     <div class=\"grid-60 tab-p-60 m-100\">
  42.         <ul class=\"navbar-nav\">
  43.             <li class=\"nav-item active\">
  44.                 <span><img src=\"";
  45.         // line 5
  46.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/particuliers.svg"), "html"nulltrue);
  47.         echo "\" alt=\"\" /> ";
  48.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.private"), "html"nulltrue);
  49.         echo "</span>
  50.                 <span><img src=\"";
  51.         // line 6
  52.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/societes.svg"), "html"nulltrue);
  53.         echo "\" alt=\"\" /> ";
  54.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.society"), "html"nulltrue);
  55.         echo "</span>
  56.             </li>
  57.             <li class=\"nav-item\">
  58.                 <a href=\"";
  59.         // line 9
  60.         echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html"nulltrue);
  61.         echo "\" title=\"";
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.pro"), "html"nulltrue);
  63.         echo "\">
  64.                     <img src=\"";
  65.         // line 10
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pros_2_auto.svg"), "html"nulltrue);
  67.         echo "\" alt=\"\" /> ";
  68.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.pro"), "html"nulltrue);
  69.         echo "
  70.                 </a>
  71.             </li>
  72.         </ul>
  73.         <h3>";
  74.         // line 14
  75.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.account.already");
  76.         echo "</h3>
  77.         ";
  78.         // line 15
  79.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("FOS\\UserBundle\\Controller\\SecurityController:loginAction"));
  80.         echo "
  81.         <p class=\"txtcenter\"><a href=\"#\" class=\"u-modal u-forgot lien01\">";
  82.         // line 16
  83.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.password.forget"), "html"nulltrue);
  84.         echo "</a></p>
  85.         <p class=\"txtcenter grid-hide tab-l-hide tab-p-hide m-visible\">
  86.             <a href=\"#\" title=\"\" class=\"lien02 bt-cancel-login\">";
  87.         // line 18
  88.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.action.cancel"), "html"nulltrue);
  89.         echo "</a>
  90.         </p>
  91.     </div>
  92.     <div class=\"grid-40 tab-p-40 m-100\">
  93.         <div class=\"empty-box\"></div>
  94.         <div class=\"background-grey\">
  95.             ";
  96.         // line 24
  97.         $this->displayBlock('right_panel'$context$blocks);
  98.         // line 45
  99.         echo "        </div>
  100.     </div>
  101. </div>
  102. ";
  103.         
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105.         
  106.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.     }
  110.     // line 1
  111.     public function block_userLoginId($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userLoginId"));
  116.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  117.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userLoginId"));
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userLoginId"));
  120.         echo "user-login";
  121.         
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123.         
  124.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  125.         
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  127.     }
  128.     // line 24
  129.     public function block_right_panel($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""right_panel"));
  134.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  135.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""right_panel"));
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""right_panel"));
  138.         // line 25
  139.         echo "                <h3>";
  140.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.title01"), "html"nulltrue);
  141.         echo "</h3>
  142.                 <div class=\"content-right-user\">
  143.                     <p>";
  144.         // line 27
  145.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.title02"), "html"nulltrue);
  146.         echo "</p>
  147.                     <ul>
  148.                         <li>";
  149.         // line 29
  150.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.item01"), "html"nulltrue);
  151.         echo "</li>
  152.                         <li>";
  153.         // line 30
  154.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.item02"), "html"nulltrue);
  155.         echo "</li>
  156.                         <li>";
  157.         // line 31
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create_account.item03"), "html"nulltrue);
  159.         echo "</li>
  160.                     </ul>
  161.                     <p>
  162.                         ";
  163.         // line 34
  164.         if (twig_get_attribute($this->env$this->source, ($context["vehicle"] ?? null), "id", [], "any"truetruefalse34)) {
  165.             // line 35
  166.             echo "                            ";
  167.             $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"falsefalsefalse35)]);
  168.             // line 36
  169.             echo "                        ";
  170.         } else {
  171.             // line 37
  172.             echo "                            ";
  173.             $context["url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step", ["step" => 2]);
  174.             // line 38
  175.             echo "                        ";
  176.         }
  177.         // line 39
  178.         echo "                        <a href=\"";
  179.         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"nulltrue);
  180.         echo "\" title=\"";
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.profile.create"), "html"nulltrue);
  182.         echo "\" class=\"link_profile_create btn06\">
  183.                             ";
  184.         // line 40
  185.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.profile.create"), "html"nulltrue);
  186.         echo "
  187.                         </a>
  188.                     </p>
  189.                 </div>
  190.             ";
  191.         
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  193.         
  194.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  195.         
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  197.     }
  198.     public function getTemplateName()
  199.     {
  200.         return "popin/_user_login.html.twig";
  201.     }
  202.     public function isTraitable()
  203.     {
  204.         return false;
  205.     }
  206.     public function getDebugInfo()
  207.     {
  208.         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,);
  209.     }
  210.     public function getSourceContext()
  211.     {
  212.         return new Source("<div id=\"{% block userLoginId %}user-login{% endblock userLoginId %}\" class=\"clearfix\">
  213.     <div class=\"grid-60 tab-p-60 m-100\">
  214.         <ul class=\"navbar-nav\">
  215.             <li class=\"nav-item active\">
  216.                 <span><img src=\"{{ asset('bundles/vpauto/frontend/images/particuliers.svg') }}\" alt=\"\" /> {{ \"frontend.header.link.private\"|trans }}</span>
  217.                 <span><img src=\"{{ asset('bundles/vpauto/frontend/images/societes.svg') }}\" alt=\"\" /> {{ \"frontend.header.link.society\"|trans }}</span>
  218.             </li>
  219.             <li class=\"nav-item\">
  220.                 <a href=\"{{ getADUrl() }}\" title=\"{{ \"frontend.header.link.pro\"|trans }}\">
  221.                     <img src=\"{{ asset('bundles/vpauto/frontend/images/pros_2_auto.svg') }}\" alt=\"\" /> {{ \"frontend.header.link.pro\"|trans }}
  222.                 </a>
  223.             </li>
  224.         </ul>
  225.         <h3>{{ 'frontend.profile.account.already'|trans|raw }}</h3>
  226.         {{ render(controller(\"FOS\\\\UserBundle\\\\Controller\\\\SecurityController:loginAction\")) }}
  227.         <p class=\"txtcenter\"><a href=\"#\" class=\"u-modal u-forgot lien01\">{{ 'frontend.profile.password.forget'|trans }}</a></p>
  228.         <p class=\"txtcenter grid-hide tab-l-hide tab-p-hide m-visible\">
  229.             <a href=\"#\" title=\"\" class=\"lien02 bt-cancel-login\">{{ 'frontend.action.cancel'|trans }}</a>
  230.         </p>
  231.     </div>
  232.     <div class=\"grid-40 tab-p-40 m-100\">
  233.         <div class=\"empty-box\"></div>
  234.         <div class=\"background-grey\">
  235.             {% block right_panel %}
  236.                 <h3>{{ 'frontend.profile.create_account.title01'|trans }}</h3>
  237.                 <div class=\"content-right-user\">
  238.                     <p>{{ 'frontend.profile.create_account.title02'|trans }}</p>
  239.                     <ul>
  240.                         <li>{{ 'frontend.profile.create_account.item01'|trans }}</li>
  241.                         <li>{{ 'frontend.profile.create_account.item02'|trans }}</li>
  242.                         <li>{{ 'frontend.profile.create_account.item03'|trans }}</li>
  243.                     </ul>
  244.                     <p>
  245.                         {% if vehicle.id is defined %}
  246.                             {% set url = path('registration_step', { (constant('App\\\\EventListener\\\\RegistrationListener::VEHICLE_ID')) : vehicle.id }) %}
  247.                         {% else %}
  248.                             {% set url = path('registration_step', {step: 2}) %}
  249.                         {% endif %}
  250.                         <a href=\"{{ url }}\" title=\"{{ 'frontend.header.profile.create'|trans }}\" class=\"link_profile_create btn06\">
  251.                             {{ 'frontend.header.profile.create'|trans }}
  252.                         </a>
  253.                     </p>
  254.                 </div>
  255.             {% endblock right_panel %}
  256.         </div>
  257.     </div>
  258. </div>
  259. ""popin/_user_login.html.twig""/srv/templates/popin/_user_login.html.twig");
  260.     }
  261. }