##// END OF EJS Templates
New edit icon....
New edit icon. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10141 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9920:0880096162a3
r9958:9554f0133ff6
Show More
edit.html.erb
18 lines | 812 B | text/plain | TextLexer
<%= breadcrumb link_to(l(:label_board_plural), project_boards_path(@project)),
link_to(h(@board.name), project_board_path(@project, @board)) %>
<h2><%= avatar(@topic.author, :size => "24") %><%=h @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) %>
<%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board, :id => @message}, 'message-form') %>
<% end %>
<div id="preview" class="wiki"></div>