Write Message
% if (my $msg = stash('warning')) {
<%= $msg %>
% }
%= form_for '' => (method => 'post') => (enctype => 'multipart/form-data') => (class => '') => begin
%= label_for mail => ucfirst l('send_to') => (class => 'label')
%= email_field 'to' => (id => 'mail') => (multiple => '') => (required => '') => (class => 'input')
%= label_for subject => ucfirst l('subject') => (class => 'label')
%= text_field 'subject' => (required => '') => (class => 'input')
%= label_for cc => 'CC' => (class => 'label')
%= email_field 'cc' => (multiple => '') => (class => 'input')
%= label_for bcc => 'BCC' => (class => 'label')
%= email_field 'bcc' => (multiple => '') => (class => 'input')
%= label_for back_to => ucfirst l('answer_to') => (class => 'label')
%= email_field 'back_to' => (class => 'input')
%= label_for txt => ucfirst l('content') => (class => 'label')
%= text_area body => (rows => 24) => (name => 'txt') => (class => 'textarea')
%= submit_button l('send') => (class => 'button')
%= csrf_field
% end