var/cache/dev/twig/e7/e7f31b3c47c39e884052f41a13ed0bb4.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* reset_password/request.html.twig */
  15. class __TwigTemplate_e6ee78f934ecbd31ef63343af7fa7a77 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "security.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""reset_password/request.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  40.         $this->parent $this->loadTemplate("security.html.twig""reset_password/request.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         yield "Réinitialiser le mot de passe";
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         return; yield '';
  61.     }
  62.     // line 5
  63.     public function block_content($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  70.         // line 6
  71.         yield "    <div ";
  72.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env"security--resetPassword");
  73.         yield ">
  74.         ";
  75.         // line 7
  76.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'7$this->source); })()), 'form_start', ["attr" => ["class" => "form w-100""novalidate" => "novalidate""data-security--resetPassword-target" => "requestForm"]]);
  77.         yield "
  78.         <div class=\"refonte-login custom-card-body bg-body rounded p-10 p-lg-15 mx-auto\">
  79.             <div class=\"mb-5 container-logo \">
  80.                 <a href=\"";
  81.         // line 10
  82.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  83.         yield "\">
  84.                     ";
  85.         // line 11
  86.         if (((array_key_exists("company"$context) &&  !(null === (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'11$this->source); })()))) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'11$this->source); })()), "logoName", [], "any"falsefalsefalse11)))) {
  87.             // line 12
  88.             yield "                        <img style=\"max-width: 192px;height: auto;max-height: 75px;\" width=\"auto\" src=\"";
  89.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/uploads/images/company/"), "html"nulltrue);
  90.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'12$this->source); })()), "logoName", [], "any"falsefalsefalse12), "html"nulltrue);
  91.             yield "\" class=\"app-logo\" alt=\"my flow logo\">
  92.                     ";
  93.         } else {
  94.             // line 14
  95.             yield "                        <img src=\"";
  96.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/media/logo-myflow.png"), "html"nulltrue);
  97.             yield "\" class=\"app-logo\" alt=\"my flow logo\" width=\"192\"><br>
  98. \t\t\t\t\t\t\t<span class=\"slogan\">More than just a marketplace</span>
  99.                     ";
  100.         }
  101.         // line 17
  102.         yield "                </a>
  103.                 <svg width=\"28\" height=\"28\" viewbox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  104.                     <g clip-path=\"url(#clip0_1_42)\">
  105.                         <path d=\"M28 14.1058L18.5578 18.7662L14.0031 28L9.30844 18.48L0 13.8911L9.44222 9.23067L14.0031 0L18.6978 9.51689L28 14.1058Z\" fill=\"#F676BD\" fill-opacity=\"0.42\"/>
  106.                     </g>
  107.                     <defs>
  108.                         <clipPath id=\"clip0_1_42\">
  109.                             <rect width=\"28\" height=\"28\" fill=\"white\"/>
  110.                         </clipPath>
  111.                     </defs>
  112.                 </svg>
  113.                 <h1 class=\"color-second\">Mot de passe oublié ?
  114.                 </h1>
  115.                 <p class=\"color-second\">Entrez votre adresse email pour<br/> réinitialiser votre mot de passe</p>
  116.             </div>
  117.             ";
  118.         // line 36
  119.         yield "
  120.             <div class=\"fv-row mb-10 position-center form-login\" style=\"flex-direction: column;margin: auto;align-items: center;text-align: center;\">
  121.                 ";
  122.         // line 38
  123.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'38$this->source); })()), "email", [], "any"falsefalsefalse38), 'widget', ["attr" => ["class" => ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'38$this->source); })()), "email", [], "any"falsefalsefalse38), "vars", [], "any"falsefalsefalse38), "errors", [], "any"falsefalsefalse38))) ? ("form-control is-invalid custom-input-size") : ("form-control custom-input-size"))]]);
  124.         yield "
  125.                 ";
  126.         // line 39
  127.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'39$this->source); })()), "email", [], "any"falsefalsefalse39), 'errors');
  128.         yield "
  129.             </div>
  130.             <div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  131.                 <button type=\"button\" id=\"kt_password_reset_submit\" class=\"titillium-web-bold btn btn-lg btn-primary-custom fw-bolder me-4\" ";
  132.         // line 43
  133.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"security--resetPassword""submitRequestForm");
  134.         yield ">
  135.                     <span class=\"indicator-label\">Soumettre</span>
  136.                     <span class=\"indicator-progress\">Envoi en cours...
  137.                     <span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span>
  138.                 </span>
  139.                 </button>
  140.                 <a href=\"";
  141.         // line 49
  142.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  143.         yield "\" class=\"titillium-web-bold btn btn-lg btn-light-primary fw-bolder\">Annuler</a>
  144.             </div>
  145.             ";
  146.         // line 52
  147.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm"$context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.'52$this->source); })()), 'form_end');
  148.         yield "
  149.         </div>
  150.     </div>
  151. ";
  152.         
  153.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  154.         
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  156.         return; yield '';
  157.     }
  158.     /**
  159.      * @codeCoverageIgnore
  160.      */
  161.     public function getTemplateName()
  162.     {
  163.         return "reset_password/request.html.twig";
  164.     }
  165.     /**
  166.      * @codeCoverageIgnore
  167.      */
  168.     public function isTraitable()
  169.     {
  170.         return false;
  171.     }
  172.     /**
  173.      * @codeCoverageIgnore
  174.      */
  175.     public function getDebugInfo()
  176.     {
  177.         return array (  168 => 52,  162 => 49,  153 => 43,  146 => 39,  142 => 38,  138 => 36,  121 => 17,  114 => 14,  107 => 12,  105 => 11,  101 => 10,  95 => 7,  90 => 6,  80 => 5,  60 => 3,  37 => 1,);
  178.     }
  179.     public function getSourceContext()
  180.     {
  181.         return new Source("{% extends 'security.html.twig' %}
  182. {% block title %}Réinitialiser le mot de passe{% endblock %}
  183. {% block content %}
  184.     <div {{ stimulus_controller('security--resetPassword') }}>
  185.         {{ form_start(requestForm, {'attr':{'class':'form w-100','novalidate':'novalidate','data-security--resetPassword-target':'requestForm'}}) }}
  186.         <div class=\"refonte-login custom-card-body bg-body rounded p-10 p-lg-15 mx-auto\">
  187.             <div class=\"mb-5 container-logo \">
  188.                 <a href=\"{{ path('app_login') }}\">
  189.                     {% if company is defined and company is not null and company.logoName is not null %}
  190.                         <img style=\"max-width: 192px;height: auto;max-height: 75px;\" width=\"auto\" src=\"{{ asset('/uploads/images/company/') }}{{ company.logoName }}\" class=\"app-logo\" alt=\"my flow logo\">
  191.                     {% else %}
  192.                         <img src=\"{{ asset('build/media/logo-myflow.png') }}\" class=\"app-logo\" alt=\"my flow logo\" width=\"192\"><br>
  193. \t\t\t\t\t\t\t<span class=\"slogan\">More than just a marketplace</span>
  194.                     {% endif %}
  195.                 </a>
  196.                 <svg width=\"28\" height=\"28\" viewbox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  197.                     <g clip-path=\"url(#clip0_1_42)\">
  198.                         <path d=\"M28 14.1058L18.5578 18.7662L14.0031 28L9.30844 18.48L0 13.8911L9.44222 9.23067L14.0031 0L18.6978 9.51689L28 14.1058Z\" fill=\"#F676BD\" fill-opacity=\"0.42\"/>
  199.                     </g>
  200.                     <defs>
  201.                         <clipPath id=\"clip0_1_42\">
  202.                             <rect width=\"28\" height=\"28\" fill=\"white\"/>
  203.                         </clipPath>
  204.                     </defs>
  205.                 </svg>
  206.                 <h1 class=\"color-second\">Mot de passe oublié ?
  207.                 </h1>
  208.                 <p class=\"color-second\">Entrez votre adresse email pour<br/> réinitialiser votre mot de passe</p>
  209.             </div>
  210.             {# <div class=\"text-center mb-10\">
  211.                 <h1 class=\"titillium-web-bold text-dark mb-3\">Mot de passe oublié ?</h1>
  212.                 <div class=\"text-gray-400 fw-bold fs-4\">Entrez votre adresse email pour réinitialiser votre mot de passe</div>
  213.             </div> #}
  214.             <div class=\"fv-row mb-10 position-center form-login\" style=\"flex-direction: column;margin: auto;align-items: center;text-align: center;\">
  215.                 {{ form_widget(requestForm.email, {'attr':{'class': requestForm.email.vars.errors|length ? 'form-control is-invalid custom-input-size':'form-control custom-input-size'}}) }}
  216.                 {{ form_errors(requestForm.email) }}
  217.             </div>
  218.             <div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  219.                 <button type=\"button\" id=\"kt_password_reset_submit\" class=\"titillium-web-bold btn btn-lg btn-primary-custom fw-bolder me-4\" {{ stimulus_action('security--resetPassword', 'submitRequestForm') }}>
  220.                     <span class=\"indicator-label\">Soumettre</span>
  221.                     <span class=\"indicator-progress\">Envoi en cours...
  222.                     <span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span>
  223.                 </span>
  224.                 </button>
  225.                 <a href=\"{{ path('app_login') }}\" class=\"titillium-web-bold btn btn-lg btn-light-primary fw-bolder\">Annuler</a>
  226.             </div>
  227.             {{ form_end(requestForm) }}
  228.         </div>
  229.     </div>
  230. {% endblock %}
  231. ""reset_password/request.html.twig""/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/templates/reset_password/request.html.twig");
  232.     }
  233. }