alps/public/compose.html

25 lines
523 B
HTML
Raw Normal View History

2019-12-03 13:33:20 +00:00
{{template "head"}}
<h1>koushin</h1>
<p>
<a href="/mailbox/INBOX">Back</a>
</p>
<h2>Compose new message</h2>
<form method="post" action="/compose">
<p>From:</p>
2019-12-03 15:46:03 +00:00
<input type="email" name="from" value="{{.Message.From}}">
2019-12-03 13:33:20 +00:00
<p>To:</p>
2019-12-03 15:46:03 +00:00
<input type="email" name="to" multiple>
2019-12-03 13:33:20 +00:00
<p>Subject:</p>
2019-12-03 15:46:03 +00:00
<input type="text" name="subject" value="{{.Message.Subject}}">
2019-12-03 13:33:20 +00:00
<p>Body:</p>
2019-12-03 15:46:03 +00:00
<textarea name="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"}}