2011-09-09 22:10:25 +02:00
|
|
|
<%= form_tag(sendout_or_save_path)%>
|
2011-08-24 19:20:13 +02:00
|
|
|
<div class="params">
|
2011-09-10 20:31:55 +02:00
|
|
|
<%= raw form_field( @message,
|
|
|
|
"to_addr",
|
|
|
|
nil,
|
|
|
|
"joe@domain.com"+', '+ t(:not_contain_at,:scope=>:compose),
|
|
|
|
address_formatter(@message.to_addr,@operation)
|
|
|
|
) %>
|
|
|
|
<%= raw form_field( @message,
|
|
|
|
"subject",
|
|
|
|
nil,
|
|
|
|
t(:subject_of_the_message,:scope=>:compose),
|
|
|
|
subject_formatter(@message.subject,@operation)
|
|
|
|
) %>
|
|
|
|
<%= raw area_field( @message,
|
|
|
|
"body",
|
|
|
|
nil,
|
|
|
|
t(:write_your_message_here,:scope=>:compose),
|
|
|
|
body_formatter(@message.body,@operation),
|
|
|
|
80,
|
|
|
|
20
|
|
|
|
) %>
|
2011-08-24 19:20:13 +02:00
|
|
|
</div>
|
2011-09-16 19:44:29 +02:00
|
|
|
<% if !@olduid.nil? %>
|
|
|
|
<%= hidden_field_tag 'olduid', @olduid %>
|
|
|
|
<% end %>
|
2011-09-09 22:10:25 +02:00
|
|
|
<%= raw group_action(@buttons) %>
|
|
|
|
<%= render :partial=> 'messages/file_attachs' %>
|
|
|
|
</form>
|
2011-09-03 13:07:40 +02:00
|
|
|
|