aboutsummaryrefslogtreecommitdiff
path: root/public/compose.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-03 18:41:23 +0100
committerSimon Ser <contact@emersion.fr>2019-12-03 18:41:23 +0100
commita103309935c4a2c72770343542493d1c285d94dd (patch)
tree8d030950cf75f4b10f1cc657b56a0079b027b7b5 /public/compose.html
parentb386d1c2bb0efacea2484b4aa2088c769e048a9c (diff)
downloadalps-a103309935c4a2c72770343542493d1c285d94dd.tar.gz
alps-a103309935c4a2c72770343542493d1c285d94dd.zip
Add support for replying to a message
Diffstat (limited to 'public/compose.html')
-rw-r--r--public/compose.html6
1 files changed, 4 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>