edit.html.erb
21 lines
| 845 B
| text/plain
|
TextLexer
|
r8381 | <h2><%= link_to h(@board.name), :controller => 'boards', | ||
:action => 'show', :project_id => @project, | ||||
:id => @board %> » <%= h @message.subject %></h2> | ||||
|
r913 | |||
|
r9346 | <%= form_for @message, { | ||
:as => :message, | ||||
:url => {:action => 'edit'}, | ||||
:html => {:multipart => true, | ||||
:id => 'message-form', | ||||
:method => :post} | ||||
} do |f| %> | ||||
|
r8381 | <%= render :partial => 'form', | ||
:locals => {:f => f, :replying => !@message.parent.nil?} %> | ||||
|
r913 | <%= submit_tag l(:button_save) %> | ||
|
r9848 | <%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board, :id => @message}, 'message-form') %> | ||
|
r913 | <% end %> | ||
|
r1191 | <div id="preview" class="wiki"></div> | ||
|
r4769 | |||
<% content_for :header_tags do %> | ||||
<%= stylesheet_link_tag 'scm' %> | ||||
<% end %> | ||||