|
|
|
@ -171,17 +171,18 @@
|
|
|
|
|
<%= link_to_attachments message, :author => false %> -->
|
|
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="pagination"><%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %></div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% if !@topic.locked? && authorize_for('messages', 'reply') %>
|
|
|
|
|
<p><%= toggle_link l(:button_reply), "reply", :focus => 'message_content' %></p>
|
|
|
|
|
<p style="float: right;"><%= toggle_link l(:button_reply), "reply", :focus => 'message_content' %></p>
|
|
|
|
|
<div id="reply" style="display:none;">
|
|
|
|
|
<%= form_for @reply, :as => :reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
|
|
|
|
<%= render :partial => 'form', :locals => {:f => f, :replying => true} %>
|
|
|
|
|
<%= submit_tag l(:button_submit) %>
|
|
|
|
|
<%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board}, 'message-form') %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="pagination"><%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %></div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="preview" class="wiki"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|