<%= error_messages_for 'message' %> <% replying ||= false %>


<%= f.text_field :subject, :size => 120 %> <% if !replying && User.current.allowed_to?(:edit_messages, @project) %> <% end %>

<%= 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' %>