aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/public
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/public')
-rw-r--r--plugins/base/public/message.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/base/public/message.html b/plugins/base/public/message.html
index 729937d..2a0ab71 100644
--- a/plugins/base/public/message.html
+++ b/plugins/base/public/message.html
@@ -16,6 +16,16 @@
{{end}}
</h2>
+<form method="post" action="{{.Message.Uid}}/move">
+ <label for="move-to">Move to:</label>
+ <select name="to" id="move-to">
+ {{range .Mailboxes}}
+ <option {{if eq .Name $.Mailbox.Name}}selected{{end}}>{{.Name}}</option>
+ {{end}}
+ </select>
+ <input type="submit" value="Move">
+</form>
+
{{define "message-part-tree"}}
{{/* nested templates can't access the parent's context */}}
{{$ = index . 0}}