app/views/spud/admin/posts/index.html.erb in spud_blog-1.0.0.rc1.1 vs app/views/spud/admin/posts/index.html.erb in spud_blog-1.0.0
- old
+ new
@@ -1,8 +1,8 @@
<%= content_for :data_controls do %>
- <%= link_to "Manage Categories", spud_admin_post_categories_path, :class => 'btn spud_blog_manage_categories', :title => 'Manage Categories' %>
- <%= link_to "Manage Comments", spud_admin_post_comments_path, :class => 'btn', :title => 'Manage Comments' %>
+ <%= link_to "Manage Categories", spud_admin_post_categories_path, :class => 'btn btn-info spud_blog_manage_categories', :title => 'Manage Categories' %>
+ <%= link_to "Manage Comments", spud_admin_post_comments_path, :class => 'btn btn-default', :title => 'Manage Comments' %>
<%= link_to "New Post", new_spud_admin_post_path, :class => "btn btn-primary", :title => "New Post" %>
<% end %>
<%=content_for :detail do %>
<table class="admin-table">
@@ -32,10 +32,12 @@
Approved: <%=link_to post.visible_comments.count, spud_admin_post_post_comments_path(:post_id => post.id) %>
<br/>
Spam: <%=link_to post.spam_comments.count, spud_admin_post_post_comments_path(:post_id => post.id) %>
</td>
<td align="right">
- <%= link_to 'Delete', spud_admin_post_path(post), :method => :delete, :data => {:confirm => 'Are you sure you want to delete this post?'}, :class => 'btn btn-danger' %>
+ <%= link_to spud_admin_post_path(post), :method => :delete, :data => {:confirm => 'Are you sure you want to delete this post?'}, :class => 'btn btn-sm btn-danger' do%>
+ <span class="glyphicon glyphicon-trash"></span>
+ <%end%>
</td>
</tr>
<%end%>
</tbody>
</table>