Skip to content

Commit

Permalink
Fix feedback admin view, may miss some js
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lecavelier committed Oct 16, 2013
1 parent b086547 commit c28cf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/feedback/_feedback.html.erb
@@ -1,7 +1,7 @@
<tr id='<%= "placeholder_#{comment.id}" %>' <%= "style='display: none'" unless comment.state.to_s.downcase == 'spam' %>>
<td colspan='5' <%= "style='display: none'" if comment.state.to_s == 'spam' %>>
<%= avatar_tag(:email => comment.email, :url => comment.url, :size => 25) %>
<%= t(".this_comment_by_was_flagged_as_spam", author: comment.author, cancel_link: link_to_remote(t('.cancel'), url: {action: 'change_state', id: comment.id})) %>
<%= t(".this_comment_by_was_flagged_as_spam", author: comment.author, cancel_link: link_to(t('.cancel'), url: {action: 'change_state', id: comment.id, remote: true})) %>
<%= toggle_element "feedback_#{comment.id}" %>
</td>
</tr>
Expand Down

0 comments on commit c28cf66

Please sign in to comment.