Add draft label to admin index

This commit is contained in:
Nic Haynes 2012-03-20 19:43:18 -05:00
parent 3049816aa9
commit 96448fc374

View file

@ -6,6 +6,9 @@
<%= " by #{post.author.username}" if post.author.present? %>
</span>
</span>
<% if post.draft? %>
<span class="label notice">Draft</span>
<% end %>
<span class='actions'>
<%= link_to refinery_icon_tag("application_go.png"), refinery.blog_post_path(post),
:title => t('.view_live_html'),