parent
5bcc76d399
commit
89e5eda397
|
@ -15,7 +15,9 @@
|
||||||
} do |f| %>
|
} do |f| %>
|
||||||
<%= render :partial => 'form',
|
<%= render :partial => 'form',
|
||||||
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
||||||
<%= submit_tag l(:button_save) %>
|
<a href="#" onclick="$('#message-form').submit();" class="ButtonColor m3p10">
|
||||||
<%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board, :id => @message}, 'message-form') %>
|
<%= l(:button_save) %>
|
||||||
|
</a>
|
||||||
|
<%= link_to l(:button_cancel), board_message_url(@message.board, @message.root, :r => (@message.parent_id && @message.id)), :class => "ButtonColor m3p10" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div id="preview" class="wiki"></div>
|
<div id="preview" class="wiki"></div>
|
||||||
|
|
Loading…
Reference in New Issue