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