Sha256: d3af273ed4d2b0314fdb6764e7980c7e94db381793230555573818b0e10dc72b
Contents?: true
Size: 618 Bytes
Versions: 10
Compression:
Stored size: 618 Bytes
Contents
<% if comment.status == 'pending' %> <%= link_to t('comments.moderation.actions.accept'), accept_comment_path(comment), method: :post, class: 'btn btn-mini' %><%= link_to t('comments.moderation.actions.block'), block_comment_path(comment), method: :post, class: 'btn btn-mini' %> <% elsif comment.status == 'accepted' %> <%= link_to t('comments.moderation.actions.block'), block_comment_path(comment), method: :post, class: 'btn btn-mini' %> <% elsif comment.status == 'blocked' %> <%= link_to t('comments.moderation.actions.accept'), accept_comment_path(comment), method: :post, class: 'btn btn-mini' %> <% end -%>
Version data entries
10 entries across 10 versions & 1 rubygems