##// END OF EJS Templates
Add view for "no preview" repository files (#22482)....
Add view for "no preview" repository files (#22482). Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@15397 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r15015:3d2c198c0f88
Show More
edit.html.erb
17 lines | 686 B | text/plain | TextLexer
<%= board_breadcrumb(@message) %>
<h2><%= avatar(@topic.author, :size => "24") %><%= @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>