mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use type=email for email fields
Setting the input type gives the use a hint that the field should be an email and also shows an error when a non-email is filled into the email field.
This commit is contained in:
parent
0a3aa40f20
commit
b2491ddc07
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@
|
||||||
{% trans %}Email Address{% endtrans %}:
|
{% trans %}Email Address{% endtrans %}:
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<input id="id_email" type="text"
|
<input id="id_email" type="email"
|
||||||
size="30" maxlength="254" name="E" value="{{ email }}">
|
size="30" maxlength="254" name="E" value="{{ email }}">
|
||||||
({% trans %}required{% endtrans %})
|
({% trans %}required{% endtrans %})
|
||||||
</p>
|
</p>
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
{% trans %}Backup Email Address{% endtrans %}:
|
{% trans %}Backup Email Address{% endtrans %}:
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<input id="id_backup_email" type="text" size="30"
|
<input id="id_backup_email" type="email" size="30"
|
||||||
maxlength="254" name="BE" value="{{ backup }}">
|
maxlength="254" name="BE" value="{{ backup }}">
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue