diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-03 18:41:23 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-03 18:41:23 +0100 |
commit | a103309935c4a2c72770343542493d1c285d94dd (patch) | |
tree | 8d030950cf75f4b10f1cc657b56a0079b027b7b5 /public/compose.html | |
parent | b386d1c2bb0efacea2484b4aa2088c769e048a9c (diff) | |
download | alps-a103309935c4a2c72770343542493d1c285d94dd.tar.gz alps-a103309935c4a2c72770343542493d1c285d94dd.zip |
Add support for replying to a message
Diffstat (limited to 'public/compose.html')
-rw-r--r-- | public/compose.html | 6 |
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> |