diff options
Diffstat (limited to 'app/views/admin/blog/posts/_post.html.erb')
-rw-r--r-- | app/views/admin/blog/posts/_post.html.erb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/admin/blog/posts/_post.html.erb b/app/views/admin/blog/posts/_post.html.erb new file mode 100644 index 0000000..3e15543 --- /dev/null +++ b/app/views/admin/blog/posts/_post.html.erb @@ -0,0 +1,16 @@ +<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(post) -%>"> + <span class='title'> + <%=h post.title %> + <span class="preview"> </span> + </span> + <span class='actions'> + <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post), + :title => t('.view_live'), + :target => "_blank" %> + <%= link_to refinery_icon_tag("application_edit.png"), edit_admin_blog_post_path(post), + :title => t('.edit') %> + <%= link_to refinery_icon_tag("delete.png"), admin_blog_post_path(post), + :class => "cancel confirm-delete", + :title => t('.delete') %> + </span> +</li> |