Add draft label to admin index
This commit is contained in:
parent
3049816aa9
commit
96448fc374
1 changed files with 3 additions and 0 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue