alps/plugins/base/public/compose.html

30 lines
781 B
HTML
Raw Normal View History

{{template "head.html"}}
2019-12-03 13:33:20 +00:00
<h1>koushin</h1>
<p>
<a href="/mailbox/INBOX">Back</a>
</p>
<h2>Compose new message</h2>
2019-12-03 17:41:23 +00:00
<form method="post" action="">
<input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}">
2019-12-16 13:45:55 +00:00
<label for="from">From:</label>
<input type="email" name="from" id="from" value="{{.Message.From}}">
<br><br>
<label for="to">To:</label>
<input type="email" name="to" id="to" multiple value="{{.Message.ToString}}">
<br><br>
<label for="subject">Subject:</label>
<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>
2019-12-03 13:33:20 +00:00
<br><br>
<input type="submit" value="Send">
</form>
{{template "foot.html"}}