From 66e9017abea24b48541f73d13bd21e848baf2385 Mon Sep 17 00:00:00 2001 From: Oleg Date: Sun, 4 May 2014 19:53:35 -0400 Subject: [PATCH] small markup --- app/views/comfy/admin/blog/comments/_comment.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/comfy/admin/blog/comments/_comment.html.haml b/app/views/comfy/admin/blog/comments/_comment.html.haml index e2cc422..f083be5 100644 --- a/app/views/comfy/admin/blog/comments/_comment.html.haml +++ b/app/views/comfy/admin/blog/comments/_comment.html.haml @@ -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' \ No newline at end of file