<?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;

/* @PimUser/Mail/reset.html.twig */
class __TwigTemplate_9fb0ae86a6152cc34bdd6ca7bb5ce5ef extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'title' => [$this, 'block_title'],
            'link' => [$this, 'block_link'],
            'emailMessage' => [$this, 'block_emailMessage'],
            'emailUserAction' => [$this, 'block_emailUserAction'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "@PimNotification/Email/notification.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $this->parent = $this->loadTemplate("@PimNotification/Email/notification.html.twig", "@PimUser/Mail/reset.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_title($context, array $blocks = [])
    {
        $macros = $this->macros;
        yield "    Akeneo reset password
";
        return; yield '';
    }

    // line 7
    public function block_link($context, array $blocks = [])
    {
        $macros = $this->macros;
        yield "    <link href=\"https://fonts.googleapis.com/css?family=Lato:400,900\" rel=\"stylesheet\" type=\"text/css\"/>
";
        return; yield '';
    }

    // line 11
    public function block_emailMessage($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 12
        yield "    <p style=\"margin: 0 0 30px 0; font-size: 20px; font-family: 'Lato', sans-serif\">
        Dear <strong>";
        // line 13
        yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "userIdentifier", [], "any", false, false, false, 13), "html", null, true);
        yield "</strong>,<br/>
        We just received a request to reset your Akeneo PIM password.
        If that was you, then you can change your password by clicking the button below.
    </p>
";
        return; yield '';
    }

    // line 19
    public function block_emailUserAction($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 20
        yield "    ";
        $context["url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("pim_user_reset_reset", ["token" => CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "confirmationToken", [], "any", false, false, false, 20)]);
        // line 21
        yield "    <span>
        <a target=\"_blank\"
           role=\"button\"
           style=\"-webkit-appearance: button; -moz-appearance: button; appearance: auto;
           padding: 10px 20px; border-radius: 25px; background-color: #9452ba; color: white;
           text-decoration: none; text-transform: uppercase; font-size: 15px; font-weight: 900;\"
           href=\"";
        // line 27
        yield Twig\Extension\EscaperExtension::escape($this->env, ($context["url"] ?? null), "html", null, true);
        yield "\">Reset password</a>
    </span>
";
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "@PimUser/Mail/reset.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  100 => 27,  92 => 21,  89 => 20,  85 => 19,  75 => 13,  72 => 12,  68 => 11,  59 => 7,  50 => 3,  39 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@PimUser/Mail/reset.html.twig", "/var/www/html/pim/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Bundle/Resources/views/Mail/reset.html.twig");
    }
}
