{% extends 'base.html.twig' %}
{% block title %}Şifremi Unuttum{% endblock %}
{% block body %}
<form method="post" class="mx-auto" style="max-width: 400px">
<div class="container my-3">
<h1 class="h3 mb-3 font-weight-normal">Şifremi Unuttum</h1>
{% if email %}
{% if error %}
<p>Geçersiz e-posta adresi: <b>{{ email }}</b></p>
{% else %}
<p>Şifre sıfırlama işlemleri için gerekli bilgiler e-posta adresinize gönderilmiştir: <b>{{ email }}</b></p>
{% endif %}
{% else %}
<p>
Şifrenizi sıfırlamak için lütfen e-posta adresinizi yazın
</p>
<p>
<label for="inputUsername">E-posta Adresi</label>
<input type="email" name="email" id="inputUsername" class="form-control" required autofocus>
</p>
<p>
<button class="btn btn-lg btn-primary" type="submit">
E-posta Gönder >>
</button>
</p>
{% endif %}
</div>
</form>
{% endblock %}