<?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\Source;
use Twig\Template;
/* reset_password/request.html.twig */
class __TwigTemplate_e6ee78f934ecbd31ef63343af7fa7a77 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "security.html.twig";
}
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", "reset_password/request.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "reset_password/request.html.twig"));
$this->parent = $this->loadTemplate("security.html.twig", "reset_password/request.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Réinitialiser le mot de passe";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
yield " <div ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env, "security--resetPassword");
yield ">
";
// line 7
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"]]);
yield "
<div class=\"refonte-login custom-card-body bg-body rounded p-10 p-lg-15 mx-auto\">
<div class=\"mb-5 container-logo \">
<a href=\"";
// line 10
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\">
";
// line 11
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", false, false, false, 11)))) {
// line 12
yield " <img style=\"max-width: 192px;height: auto;max-height: 75px;\" width=\"auto\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/uploads/images/company/"), "html", null, true);
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", false, false, false, 12), "html", null, true);
yield "\" class=\"app-logo\" alt=\"my flow logo\">
";
} else {
// line 14
yield " <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/media/logo-myflow.png"), "html", null, true);
yield "\" class=\"app-logo\" alt=\"my flow logo\" width=\"192\"><br>
\t\t\t\t\t\t\t<span class=\"slogan\">More than just a marketplace</span>
";
}
// line 17
yield " </a>
<svg width=\"28\" height=\"28\" viewbox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_1_42)\">
<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\"/>
</g>
<defs>
<clipPath id=\"clip0_1_42\">
<rect width=\"28\" height=\"28\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<h1 class=\"color-second\">Mot de passe oublié ?
</h1>
<p class=\"color-second\">Entrez votre adresse email pour<br/> réinitialiser votre mot de passe</p>
</div>
";
// line 36
yield "
<div class=\"fv-row mb-10 position-center form-login\" style=\"flex-direction: column;margin: auto;align-items: center;text-align: center;\">
";
// line 38
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", false, false, false, 38), 'widget', ["attr" => ["class" => ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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", false, false, false, 38), "vars", [], "any", false, false, false, 38), "errors", [], "any", false, false, false, 38))) ? ("form-control is-invalid custom-input-size") : ("form-control custom-input-size"))]]);
yield "
";
// line 39
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", false, false, false, 39), 'errors');
yield "
</div>
<div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
<button type=\"button\" id=\"kt_password_reset_submit\" class=\"titillium-web-bold btn btn-lg btn-primary-custom fw-bolder me-4\" ";
// line 43
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "security--resetPassword", "submitRequestForm");
yield ">
<span class=\"indicator-label\">Soumettre</span>
<span class=\"indicator-progress\">Envoi en cours...
<span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span>
</span>
</button>
<a href=\"";
// line 49
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\" class=\"titillium-web-bold btn btn-lg btn-light-primary fw-bolder\">Annuler</a>
</div>
";
// line 52
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');
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "reset_password/request.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'security.html.twig' %}
{% block title %}Réinitialiser le mot de passe{% endblock %}
{% block content %}
<div {{ stimulus_controller('security--resetPassword') }}>
{{ form_start(requestForm, {'attr':{'class':'form w-100','novalidate':'novalidate','data-security--resetPassword-target':'requestForm'}}) }}
<div class=\"refonte-login custom-card-body bg-body rounded p-10 p-lg-15 mx-auto\">
<div class=\"mb-5 container-logo \">
<a href=\"{{ path('app_login') }}\">
{% if company is defined and company is not null and company.logoName is not null %}
<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\">
{% else %}
<img src=\"{{ asset('build/media/logo-myflow.png') }}\" class=\"app-logo\" alt=\"my flow logo\" width=\"192\"><br>
\t\t\t\t\t\t\t<span class=\"slogan\">More than just a marketplace</span>
{% endif %}
</a>
<svg width=\"28\" height=\"28\" viewbox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_1_42)\">
<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\"/>
</g>
<defs>
<clipPath id=\"clip0_1_42\">
<rect width=\"28\" height=\"28\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<h1 class=\"color-second\">Mot de passe oublié ?
</h1>
<p class=\"color-second\">Entrez votre adresse email pour<br/> réinitialiser votre mot de passe</p>
</div>
{# <div class=\"text-center mb-10\">
<h1 class=\"titillium-web-bold text-dark mb-3\">Mot de passe oublié ?</h1>
<div class=\"text-gray-400 fw-bold fs-4\">Entrez votre adresse email pour réinitialiser votre mot de passe</div>
</div> #}
<div class=\"fv-row mb-10 position-center form-login\" style=\"flex-direction: column;margin: auto;align-items: center;text-align: center;\">
{{ form_widget(requestForm.email, {'attr':{'class': requestForm.email.vars.errors|length ? 'form-control is-invalid custom-input-size':'form-control custom-input-size'}}) }}
{{ form_errors(requestForm.email) }}
</div>
<div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
<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') }}>
<span class=\"indicator-label\">Soumettre</span>
<span class=\"indicator-progress\">Envoi en cours...
<span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span>
</span>
</button>
<a href=\"{{ path('app_login') }}\" class=\"titillium-web-bold btn btn-lg btn-light-primary fw-bolder\">Annuler</a>
</div>
{{ form_end(requestForm) }}
</div>
</div>
{% endblock %}
", "reset_password/request.html.twig", "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/templates/reset_password/request.html.twig");
}
}