var/cache/dev/fr/vpauto/twig/50/50dc78c4a52e49ca75b0cdc28f14eabd.php line 116

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. /* frontend/registration/step_1.html.twig */
  14. class __TwigTemplate_309e19aa66641c494dbbd14aef791cd3 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->blocks = [
  23.             'meta_title' => [$this'block_meta_title'],
  24.             'meta_desc' => [$this'block_meta_desc'],
  25.             'body_content' => [$this'block_body_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "frontend/frontend.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/registration/step_1.html.twig"));
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/registration/step_1.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/registration/step_1.html.twig"));
  42.         $this->parent $this->loadTemplate("frontend/frontend.html.twig""frontend/registration/step_1.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_meta_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  58.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  61.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.title", [], "seo"), "html"nulltrue);
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     // line 4
  70.     public function block_meta_desc($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  75.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  76.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.desc", [], "seo"), "html"nulltrue);
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.     }
  87.     // line 6
  88.     public function block_body_content($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  93.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  94.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  97.         // line 7
  98.         echo "    <div class=\"registration-form\">
  99.         <div class=\"landing-header\">
  100.             <h1 class=\"titre05\">
  101.                 ";
  102.         // line 10
  103.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inscrivez-vous"), "html"nulltrue);
  104.         echo "
  105.                 <span>";
  106.         // line 11
  107.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pour gagner du temps"), "html"nulltrue);
  108.         echo "</span>
  109.             </h1>
  110.         </div>
  111.         <div class=\"register_step\" id=\"register_step_1\">
  112.             <div class=\"grid-60 tab-p-100 m-100\">
  113.                 <h2 class=\"titre01 paddingB20 txtcenter bold\">";
  114.         // line 16
  115.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.header"), "html"nulltrue);
  116.         echo "</h2>
  117.                 <div id=\"choose_type\">
  118.                     <a href=\"";
  119.         // line 19
  120.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step", ["step" => 2]);
  121.         echo "\" class=\"grid-45 grid-mgleft-5\">
  122.                         <div class=\"icon\">";
  123.         // line 20
  124.         echo twig_source($this->env"svg/register/private.svg");
  125.         echo "</div>
  126.                         <div>";
  127.         // line 21
  128.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.choose_type.b2c"), "html"nulltrue);
  129.         echo "</div>
  130.                     </a>
  131.                     <a href=\"";
  132.         // line 23
  133.         echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html"nulltrue);
  134.         echo "\" class=\"grid-45\">
  135.                         <div class=\"icon\">";
  136.         // line 24
  137.         echo twig_source($this->env"svg/register/pro.svg");
  138.         echo "</div>
  139.                         <div>";
  140.         // line 25
  141.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.choose_type.b2b"), "html"nulltrue);
  142.         echo "</div>
  143.                     </a>
  144.                 </div>
  145.             </div>
  146.             <div id=\"benefits\" class=\"grid-40 tab-p-100 m-100\">
  147.                 <h3 class=\"titre02 bold marginT10\">";
  148.         // line 31
  149.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.benefits.title");
  150.         echo "</h3>
  151.                 ";
  152.         // line 33
  153.         $this->loadTemplate("frontend/registration/_benefits.html.twig""frontend/registration/step_1.html.twig"33)->display($context);
  154.         // line 34
  155.         echo "            </div>
  156.         </div>
  157.     </div>
  158.     <!--Footer -->
  159.     ";
  160.         // line 38
  161.         if ((( !(null === twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'38$this->source); })()), "user", [], "any"falsefalsefalse38)) && $this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'38$this->source); })()), "user", [], "any"falsefalsefalse38))) || ("pro" == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'38$this->source); })()), "session", [], "any"falsefalsefalse38), "get", [=> "dimension"], "method"falsefalsefalse38)))) {
  162.             // line 39
  163.             echo "        ";
  164.             $this->loadTemplate("frontend/footer_pro.html.twig""frontend/registration/step_1.html.twig"39)->display($context);
  165.             // line 40
  166.             echo "    ";
  167.         } else {
  168.             // line 41
  169.             echo "        ";
  170.             $this->loadTemplate("frontend/footer.html.twig""frontend/registration/step_1.html.twig"41)->display($context);
  171.             // line 42
  172.             echo "    ";
  173.         }
  174.         // line 43
  175.         echo "    <!-- FIN Footer -->
  176. ";
  177.         
  178.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  179.         
  180.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  181.         
  182.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  183.     }
  184.     public function getTemplateName()
  185.     {
  186.         return "frontend/registration/step_1.html.twig";
  187.     }
  188.     public function isTraitable()
  189.     {
  190.         return false;
  191.     }
  192.     public function getDebugInfo()
  193.     {
  194.         return array (  209 => 43,  206 => 42,  203 => 41,  200 => 40,  197 => 39,  195 => 38,  189 => 34,  187 => 33,  182 => 31,  173 => 25,  169 => 24,  165 => 23,  160 => 21,  156 => 20,  152 => 19,  146 => 16,  138 => 11,  134 => 10,  129 => 7,  116 => 6,  91 => 4,  66 => 3,  37 => 1,);
  195.     }
  196.     public function getSourceContext()
  197.     {
  198.         return new Source("{% extends \"frontend/frontend.html.twig\" %}
  199. {% block meta_title %}{{ 'frontend.page.register.step_1.title'|trans({}, \"seo\") }}{% endblock %}
  200. {% block meta_desc %}{{ 'frontend.page.register.step_1.desc'|trans({}, \"seo\") }}{% endblock %}
  201. {% block body_content %}
  202.     <div class=\"registration-form\">
  203.         <div class=\"landing-header\">
  204.             <h1 class=\"titre05\">
  205.                 {{ 'Inscrivez-vous'|trans }}
  206.                 <span>{{ 'pour gagner du temps' | trans }}</span>
  207.             </h1>
  208.         </div>
  209.         <div class=\"register_step\" id=\"register_step_1\">
  210.             <div class=\"grid-60 tab-p-100 m-100\">
  211.                 <h2 class=\"titre01 paddingB20 txtcenter bold\">{{ 'frontend.page.register.step_1.header'|trans }}</h2>
  212.                 <div id=\"choose_type\">
  213.                     <a href=\"{{ path('registration_step', {step: 2}) }}\" class=\"grid-45 grid-mgleft-5\">
  214.                         <div class=\"icon\">{{ source('svg/register/private.svg') }}</div>
  215.                         <div>{{ 'frontend.page.register.step_1.choose_type.b2c'|trans }}</div>
  216.                     </a>
  217.                     <a href=\"{{ getADUrl() }}\" class=\"grid-45\">
  218.                         <div class=\"icon\">{{ source('svg/register/pro.svg') }}</div>
  219.                         <div>{{ 'frontend.page.register.step_1.choose_type.b2b'|trans }}</div>
  220.                     </a>
  221.                 </div>
  222.             </div>
  223.             <div id=\"benefits\" class=\"grid-40 tab-p-100 m-100\">
  224.                 <h3 class=\"titre02 bold marginT10\">{{ 'frontend.page.register.step_1.benefits.title'|trans|raw }}</h3>
  225.                 {% include('frontend/registration/_benefits.html.twig') %}
  226.             </div>
  227.         </div>
  228.     </div>
  229.     <!--Footer -->
  230.     {% if (app.user is not null and app.user is pro) or 'pro' == app.session.get('dimension') %}
  231.         {% include 'frontend/footer_pro.html.twig' %}
  232.     {% else %}
  233.         {% include 'frontend/footer.html.twig' %}
  234.     {% endif %}
  235.     <!-- FIN Footer -->
  236. {% endblock body_content %}
  237. ""frontend/registration/step_1.html.twig""/srv/templates/frontend/registration/step_1.html.twig");
  238.     }
  239. }