aboutsummaryrefslogtreecommitdiff
path: root/public/compose.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/compose.html')
-rw-r--r--public/compose.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/compose.html b/public/compose.html
index 8253eeb..933083c 100644
--- a/public/compose.html
+++ b/public/compose.html
@@ -10,13 +10,13 @@
<form method="post" action="/compose">
<p>From:</p>
- <input type="text" name="from">
+ <input type="email" name="from" value="{{.Message.From}}">
<p>To:</p>
- <input type="text" name="to">
+ <input type="email" name="to" multiple>
<p>Subject:</p>
- <input type="text" name="subject">
+ <input type="text" name="subject" value="{{.Message.Subject}}">
<p>Body:</p>
- <textarea name="text" cols="80" rows="20"></textarea>
+ <textarea name="text" cols="80" rows="20">{{.Message.Text}}</textarea>
<br><br>
<input type="submit" value="Send">
</form>