Remove templates

This commit is contained in:
Jannis Portmann 2023-04-16 19:19:23 +02:00
parent 849744e337
commit 8e40e81c19
4 changed files with 0 additions and 53 deletions

View file

@ -1,11 +0,0 @@
{% extends 'base.html.twig' %}
{% block title %}Password Reset Email Sent{% endblock %}
{% block content %}
<p>
An email has been sent that contains a link that you can click to reset your password.
This link will expire in {{ resetToken.expirationMessageKey|trans(resetToken.expirationMessageData, 'ResetPasswordBundle') }}.
</p>
<p>If you don't receive an email please check your spam folder or <a href="{{ path('app_forgot_password_request') }}">try again</a>.</p>
{% endblock %}

View file

@ -1,9 +0,0 @@
<h1>Hi!</h1>
<p>To reset your password, please visit the following link</p>
<a href="{{ url('app_reset_password', {token: resetToken.token}) }}">{{ url('app_reset_password', {token: resetToken.token}) }}</a>
<p>This link will expire in {{ resetToken.expirationMessageKey|trans(resetToken.expirationMessageData, 'ResetPasswordBundle') }}.</p>
<p>Cheers!</p>

View file

@ -1,22 +0,0 @@
{% extends 'base.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block content %}
{% for flashError in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
<h1>Reset your password</h1>
{{ form_start(requestForm) }}
{{ form_row(requestForm.email) }}
<div class="mb-3">
<small>
Enter your email address and we we will send you a
link to reset your password.
</small>
</div>
<button class="btn btn-pfl">Send password reset email</button>
{{ form_end(requestForm) }}
{% endblock %}

View file

@ -1,11 +0,0 @@
{% extends 'base.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block content %}
<h1>Reset your password</h1>
{{ form_start(resetForm) }}
{{form_widget(resetForm)}}
{{ form_end(resetForm) }}
{% endblock %}