s/email/text/ in To & From fields

type="email" does not validate RFC 2822 address lists
This commit is contained in:
Drew DeVault 2020-11-19 12:40:39 -05:00
parent 797b426ec6
commit 61cdb93e48
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<div class="headers no-js">
<label>From</label>
<input type="email" name="from" id="from" value="{{.Message.From}}" />
<input type="text" name="from" id="from" value="{{.Message.From}}" />
<label>To</label>
{{ $to := .Message.ToString }}