<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* Security/resetPassword.html.twig */
class __TwigTemplate_d25d7b48ff4d61726c5b25739ece348f5d484ab55d87984e561ba6916e23b742 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout_public.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Security/resetPassword.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Security/resetPassword.html.twig"));
// line 2
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Common/macros.html.twig", "Security/resetPassword.html.twig", 2)->unwrap();
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), "Common/form_theme.html.twig", true);
// line 1
$this->parent = $this->loadTemplate("layout_public.html.twig", "Security/resetPassword.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
echo " <div class=\"page\" id=\"security-reset-password\">
<form action=\"";
// line 7
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_reset_password");
echo "\" method=\"post\" class=\"form-security\">
<div class=\"form-body form-security\">
<div class=\"LogoSecurity\">
<img src=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/app/security/"), "html", null, true);
echo "munireg-finallogo.svg\" alt=\"\" >
</div>
";
// line 12
if ((isset($context["formIsValid"]) || array_key_exists("formIsValid", $context) ? $context["formIsValid"] : (function () { throw new RuntimeError('Variable "formIsValid" does not exist.', 12, $this->source); })())) {
// line 13
echo " <p>If this email is associated with a user of the application then an email has been sent to reset your password.</p>
";
}
// line 15
echo " ";
echo twig_call_macro($macros["macros"], "macro_form_general_errors", [(isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 15, $this->source); })())], 15, $context, $this->getSourceContext());
echo "
";
// line 16
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 16, $this->source); })()), "email", [], "any", false, false, false, 16), 'row');
echo "
<div class=\"form-footer\">
<button type=\"submit\" class=\"btn-green\">Recover password</button>
<a href=\"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\" class=\"btn-clean-white\">Go back to login</a>
</div>
<div class=\"create-account\">
<label for=\"remember-me\">
<input type=\"checkbox\" id=\"remember-me\" name=\"_remember_me\">
<span>Remember me</span>
</label>
<span>First time?</span>
<a href=\"";
// line 27
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_registration_index");
echo "\">Create an account</a>
</div>
</div>
";
// line 31
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 31, $this->source); })()), 'form_end');
echo "
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Security/resetPassword.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 122 => 31, 115 => 27, 104 => 19, 98 => 16, 93 => 15, 89 => 13, 87 => 12, 82 => 10, 76 => 7, 73 => 6, 63 => 5, 52 => 1, 50 => 3, 48 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout_public.html.twig' %}
{% import \"Common/macros.html.twig\" as macros %}
{% form_theme form with 'Common/form_theme.html.twig' %}
{% block content %}
<div class=\"page\" id=\"security-reset-password\">
<form action=\"{{ path('app_reset_password') }}\" method=\"post\" class=\"form-security\">
<div class=\"form-body form-security\">
<div class=\"LogoSecurity\">
<img src=\"{{ asset('images/app/security/') }}munireg-finallogo.svg\" alt=\"\" >
</div>
{% if formIsValid %}
<p>If this email is associated with a user of the application then an email has been sent to reset your password.</p>
{% endif %}
{{ macros.form_general_errors(form) }}
{{ form_row(form.email) }}
<div class=\"form-footer\">
<button type=\"submit\" class=\"btn-green\">Recover password</button>
<a href=\"{{ path('app_login')}}\" class=\"btn-clean-white\">Go back to login</a>
</div>
<div class=\"create-account\">
<label for=\"remember-me\">
<input type=\"checkbox\" id=\"remember-me\" name=\"_remember_me\">
<span>Remember me</span>
</label>
<span>First time?</span>
<a href=\"{{ path('app_registration_index')}}\">Create an account</a>
</div>
</div>
{{ form_end(form) }}
</div>
{% endblock %}
", "Security/resetPassword.html.twig", "/var/www/app-dev-munireg/templates/Security/resetPassword.html.twig");
}
}