<% content_for :sidebar do %> <%= render :partial => 'folders/list' %> <% end %> <% content_for :title do %> - <%= @message.subject %> <% end %>
<%= raw main_navigation(:show) %>
<%= form_tag(messages_msgops_path)%> <%= render :partial => 'header' %> <%= render :partial => 'msg_ops' %> <% if not @attachments.size.zero? %> <%= render :partial => 'attachments' %> <% end %> <% if not @render_rich.nil? %> <%= render :partial => 'body' ,:object => @render_body %> <% else %>
<%= t(:content,:scope=>:message) %> <% if @render_as_text.size.zero? %>

<%= t(:no_content,:scope => :message) %>

<% else %> <% @render_as_text.each do |r| %> <%= raw content_text_plain_for_render(r) %> <% end %> <% end %>
<% end %>