aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/compose.html6
-rw-r--r--public/message.html1
2 files changed, 5 insertions, 2 deletions
diff --git a/public/compose.html b/public/compose.html
index 933083c..e35b0fd 100644
--- a/public/compose.html
+++ b/public/compose.html
@@ -8,11 +8,13 @@
<h2>Compose new message</h2>
-<form method="post" action="/compose">
+<form method="post" action="">
+ <input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}">
+
<p>From:</p>
<input type="email" name="from" value="{{.Message.From}}">
<p>To:</p>
- <input type="email" name="to" multiple>
+ <input type="email" name="to" multiple value="{{.Message.ToString}}">
<p>Subject:</p>
<input type="text" name="subject" value="{{.Message.Subject}}">
<p>Body:</p>
diff --git a/public/message.html b/public/message.html
index fc97bf4..2e1a308 100644
--- a/public/message.html
+++ b/public/message.html
@@ -40,6 +40,7 @@
<hr>
{{if .Body}}
+ <p><a href="{{.Message.Uid}}/reply?part={{.PartPath}}">Reply</a></p>
<pre>{{.Body}}</pre>
{{else}}
<p>Can't preview this message part.</p>