%= error_messages_for 'message' %> <% replying ||= false %>
<%= f.text_field :subject, :required => true, :size => 120 %>
<% if !replying && User.current.allowed_to?(:edit_messages, @project) %>
<% end %>
<%= f.text_area :content, :required => true, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %>
<%= wikitoolbar_for 'message_content' %> <%= render :partial => 'attachments/form' %>