%= error_messages_for 'message' %> <% replying ||= false %>
<%= f.text_field :subject, :size => 120, :id => "message_subject" %>
<% unless replying %>
<% if @message.safe_attribute? 'sticky' %>
<% end %>
<% if @message.safe_attribute? 'locked' %>
<% end %>
<% end %>
<%= f.select :board_id, @project.boards.collect {|b| [b.name, b.id]} %>
<%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %> <%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %>
<%= wikitoolbar_for 'message_content' %><%= l(:label_attachment_plural) %>
<%= render :partial => 'attachments/form', :locals => {:container => @message} %>