Sha256: e3f89e26bc1a3b9e53ee3d1bad87a34acb9a3c7a04eb8b963720e14aa9d485ef

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

<span id="<%= dom_id(comment, :status) %>">
  <% if comment.is_approved? %>
    <%= link_to 'Disapprove', disapprove_sofa_blog_admin_post_comment_path(@post, comment), :remote => true, :method => :put %>
  <% else %>
    <%= link_to 'Approve', approve_sofa_blog_admin_post_comment_path(@post, comment), :remote => true, :method => :put %>
  <% end %>
</span>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sofa_blog-0.1.3 app/views/sofa_blog/admin/comments/_status.html.erb
sofa_blog-0.1.2 app/views/sofa_blog/admin/comments/_status.html.erb
sofa_blog-0.1.1 app/views/sofa_blog/admin/comments/_status.html.erb
sofa_blog-0.1.0 app/views/sofa_blog/admin/comments/_status.html.erb