|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
} do |f| %>
|
|
|
|
|
<%= render :partial => 'form',
|
|
|
|
|
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
|
|
|
|
<a href="#" onclick="$('#message-form').submit();" class="ButtonColor m3p10">
|
|
|
|
|
<a href="#" onclick="if(regexSubject()&®exContent()){$('#message-form').submit();}" class="ButtonColor m3p10">
|
|
|
|
|
<%= 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" %>
|
|
|
|
|