This commit is contained in:
RubenPX 2022-04-12 14:12:21 +02:00
parent d985744fb8
commit 4611f79b44
1 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,7 @@
{% if form.form_errors %} {% if form.form_errors %}
<p class="text-danger"> <p class="text-danger">
{% for error in form.form_errors %} {% for error in form.form_errors %}
{{ error }}<br /> {{ error }}<br/>
{% endfor %} {% endfor %}
</p> </p>
{% endif %} {% endif %}
@ -35,8 +35,7 @@
<div class="col-12"> <div class="col-12">
<label for="yourEmail" class="form-label">Email</label> <label for="yourEmail" class="form-label">Email</label>
<input type="email" name="email" class="form-control" id="yourEmail" required <input type="email" name="email" class="form-control" id="yourEmail" required value="{{ form.email.data|default('', true) }}">
value="{{ form.email.data|default('', true) }}">
<div class="invalid-feedback">Please enter your email.</div> <div class="invalid-feedback">Please enter your email.</div>
</div> </div>