diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2020-10-29 12:13:04 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2020-10-29 12:13:04 +0100 |
commit | ee43823179ee627ac16ea9da8168e5f1bf9619c0 (patch) | |
tree | 5e6c36d5629d2ce79f3cb1310998dc715a6f19c7 /templates/webmail/writemail.html.ep |
Initial commit; Stable version
Diffstat (limited to 'templates/webmail/writemail.html.ep')
-rw-r--r-- | templates/webmail/writemail.html.ep | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/templates/webmail/writemail.html.ep b/templates/webmail/writemail.html.ep new file mode 100644 index 0000000..171542e --- /dev/null +++ b/templates/webmail/writemail.html.ep @@ -0,0 +1,50 @@ +% layout 'mainlayout'; + +<div class=ow> + +<h1>Write Message</h1> + +% if (my $msg = stash('warning')) { + <p class=warn> <%= $msg %> </p> +% } + +<form method=post enctype=multipart/form-data id=write-form> + + <label for=mail> <%= ucfirst l 'send_to' %> </label> + %= email_field 'to', id => 'mail', multiple => '', required => '' + <br> + + <label for=subject> <%= ucfirst l 'subject' %> </label> + %= text_field 'subject', 'required' => '' + <br> + + <label for=cc>CC</label> + %= email_field 'cc', 'multiple' => '' + <br> + + <label for=bcc>BCC</label> + %= email_field 'bcc', 'multiple' => '' + <br> + + <label for=back_to> <%= ucfirst l 'answer_to' %> </label> + %= email_field 'back_to' + <br> + + <label for=txt> <%= ucfirst l 'content' %> </label> + %= text_area 'body', cols => 80, rows => 24, id => 'txt' + <br> + + %= file_field 'attach' + <br> + + <input type=submit value="send" /> + + %= csrf_field + +</form> + +<nav> +<a href="<%= url_for('displayheaders') %>" class=btn> <%= l 'home' %> </a> +</nav> + +</div>
\ No newline at end of file |