user_profile tpl: set email input type attr to "email" (#1020)

It is then consistent with the email address input elements declared in
admin_edit_account.html, admin_edit_user.html and register.html.
This commit is contained in:
zoeller-freinet 2021-10-30 21:30:26 +02:00 committed by GitHub
parent ba2423d6f5
commit 0e655c1357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@
{% if session['authentication_type'] != 'LOCAL' %}disabled{% endif %}>
</div>
<div class="form-group">
<label for="email">E-mail</label> <input type="text" class="form-control"
<label for="email">E-mail</label> <input type="email" class="form-control"
name="email" id="email" placeholder="{{ current_user.email }}"
{% if session['authentication_type'] != 'LOCAL' %}disabled{% endif %}>
</div>{% if session['authentication_type'] == 'LOCAL' %}