##// END OF EJS Templates
Removes calls to remote_form_for....
Removes calls to remote_form_for. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10035 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9848:ff68fff80ed1
r9852:705f96ccde44
Show More
edit.html.erb
21 lines | 845 B | text/plain | TextLexer
<h2><%= link_to h(@board.name), :controller => 'boards',
:action => 'show', :project_id => @project,
:id => @board %> &#187; <%= h @message.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) %>
<%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board, :id => @message}, 'message-form') %>
<% end %>
<div id="preview" class="wiki"></div>
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>