summaryrefslogtreecommitdiffstats
path: root/app/views/messages/edit.html.erb
blob: 559afc6bcd5d35ea55aeef971d6df86927de3cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%= board_breadcrumb(@message) %>

<h2><%= avatar(@topic.author) %><%= @topic.subject %></h2>

<%= form_for @message, {
               :as => :message,
               :url => {:action => 'edit'},
               :html => {:multipart => true,
                         :id => 'message-form',
                         :method => :post}
          } do |f| %>
  <%= render :partial => 'form',
             :locals => {:f => f, :replying => !@message.parent.nil?} %>
  <%= submit_tag l(:button_save) %>
<% end %>