aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/posts/_post.html.erb
blob: a7682796ffea1a9f4db19960faf01679bb41d91b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(post) -%>">
  <span class='title'>
    <%=h post.title %>
    <span class="preview">&nbsp;</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'),
        :'data-method' => 'delete',
        :'data-confirm' => t('shared.admin.delete.message', :title => post.title) %>
  </span>
</li>