Skip to content

Commit

Permalink
small markup
Browse files Browse the repository at this point in the history
  • Loading branch information
GBH committed May 4, 2014
1 parent f792c16 commit 66e9017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/comfy/admin/blog/comments/_comment.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
= comment.created_at.to_s(:db)
%td
- label, css_class = comment.is_published?? ['Unpublish', 'btn-danger'] : ['Publish', 'btn-info']
= link_to label, toggle_publish_comfy_admin_blog_comment_path(@site, @blog, comment), :method => :patch, :remote => true, :class => "btn btn-small #{css_class}"
= link_to label, toggle_publish_comfy_admin_blog_comment_path(@site, @blog, comment), :method => :patch, :remote => true, :class => "btn btn-sm #{css_class}"
%td
.btn-group.btn-group-sm
= link_to 'Delete', comfy_admin_blog_comment_path(@site, @blog, comment), :method => :delete, :data => {:confirm => 'Are you sure?'}, :class => 'btn btn-danger'

0 comments on commit 66e9017

Please sign in to comment.