<%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%=h @message.subject %>
<%= @message.author.name %>, <%= format_time(@message.created_on) %>
<%= textilizable(@message.content) %>
<% @message.attachments.each do |attachment| %>
<%= link_to attachment.filename, { :action => 'download', :id => @message, :attachment_id => attachment }, :class => 'icon icon-attachment' %>
(<%= number_to_human_size(attachment.filesize) %>)
<% end %>
<% @message.children.each do |message| %>
">
<%=h message.subject %> - <%= message.author.name %>, <%= format_time(message.created_on) %>
<%= textilizable message.content %>
<% end %>
<% if @logged_in_user %>
<%= toggle_link l(:button_reply), "reply", :focus => "reply_content" %>
<%= error_messages_for 'message' %>
<% form_for :reply, @reply, :url => {:action => 'reply', :id => @message} do |f| %>
<%= f.text_field :subject, :required => true, :size => 60 %>
<%= f.text_area :content, :required => true, :cols => 80, :rows => 10 %>
<%= submit_tag l(:button_submit) %>
<% end %>
<% end %>