@@ -14,7 +14,7 | |||||
14 | <% form_for :message, @message, :url => {:controller => 'messages', :action => 'new', :board_id => @board}, :html => {:multipart => true, :id => 'message-form'} do |f| %> |
|
14 | <% form_for :message, @message, :url => {:controller => 'messages', :action => 'new', :board_id => @board}, :html => {:multipart => true, :id => 'message-form'} do |f| %> | |
15 | <%= render :partial => 'messages/form', :locals => {:f => f} %> |
|
15 | <%= render :partial => 'messages/form', :locals => {:f => f} %> | |
16 | <p><%= submit_tag l(:button_create) %> |
|
16 | <p><%= submit_tag l(:button_create) %> | |
17 |
<%= link_to_remote l(:label_preview), |
|
17 | <%= link_to_remote l(:label_preview), | |
18 | { :url => { :controller => 'messages', :action => 'preview', :board_id => @board }, |
|
18 | { :url => { :controller => 'messages', :action => 'preview', :board_id => @board }, | |
19 | :method => 'post', |
|
19 | :method => 'post', | |
20 | :update => 'preview', |
|
20 | :update => 'preview', | |
@@ -38,7 +38,7 | |||||
38 | <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> |
|
38 | <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> | |
39 | <%= sort_header_tag('replies', :caption => l(:label_reply_plural)) %> |
|
39 | <%= sort_header_tag('replies', :caption => l(:label_reply_plural)) %> | |
40 | <%= sort_header_tag('updated_on', :caption => l(:label_message_last)) %> |
|
40 | <%= sort_header_tag('updated_on', :caption => l(:label_message_last)) %> | |
41 |
</tr></thead> |
|
41 | </tr></thead> | |
42 | <tbody> |
|
42 | <tbody> | |
43 | <% @topics.each do |topic| %> |
|
43 | <% @topics.each do |topic| %> | |
44 | <tr class="message <%= cycle 'odd', 'even' %> <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>"> |
|
44 | <tr class="message <%= cycle 'odd', 'even' %> <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>"> |
General Comments 0
You need to be logged in to leave comments.
Login now