Use <label> in compose form
This commit is contained in:
parent
1c5e17472d
commit
65931445a8
2 changed files with 12 additions and 9 deletions
|
@ -11,14 +11,17 @@
|
||||||
<form method="post" action="">
|
<form method="post" action="">
|
||||||
<input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}">
|
<input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}">
|
||||||
|
|
||||||
<p>From:</p>
|
<label for="from">From:</label>
|
||||||
<input type="email" name="from" value="{{.Message.From}}">
|
<input type="email" name="from" id="from" value="{{.Message.From}}">
|
||||||
<p>To:</p>
|
<br><br>
|
||||||
<input type="email" name="to" multiple value="{{.Message.ToString}}">
|
<label for="to">To:</label>
|
||||||
<p>Subject:</p>
|
<input type="email" name="to" id="to" multiple value="{{.Message.ToString}}">
|
||||||
<input type="text" name="subject" value="{{.Message.Subject}}">
|
<br><br>
|
||||||
<p>Body:</p>
|
<label for="subject">Subject:</label>
|
||||||
<textarea name="text" cols="80" rows="20">{{.Message.Text}}</textarea>
|
<input type="text" name="subject" id="subject" value="{{.Message.Subject}}">
|
||||||
|
<br><br>
|
||||||
|
<label for="text">Body:</label><br>
|
||||||
|
<textarea name="text" id="text" cols="80" rows="20">{{.Message.Text}}</textarea>
|
||||||
<br><br>
|
<br><br>
|
||||||
<input type="submit" value="Send">
|
<input type="submit" value="Send">
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</p>
|
</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>Mailbox is empty.</p>
|
<p>No message.</p>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{template "foot.html"}}
|
{{template "foot.html"}}
|
||||||
|
|
Loading…
Reference in a new issue