app/views/manage/posts/_post.html.erb in sunrise-posts-0.1.4 vs app/views/manage/posts/_post.html.erb in sunrise-posts-0.1.5

- old
+ new

@@ -1,12 +1,12 @@ <%= content_tag(:div, :id => dom_id(post), :class=>"dinamic-bl") do %> <div class="act-bl" style="display:none;"> <% if can? :update, post, :context => :manage %> - <%= link_to image_tag("manage/ico_edit.gif", :title=>t('manage.edit')), edit_manage_structure_post_path(@structure.id, post.id), :class=>"icons" %> + <%= link_to manage_icon("edit"), edit_manage_structure_post_path(@structure.id, post.id), :class=>"icons" %> <% end %> <% if can? :delete, post, :context => :manage %> - <%= link_to image_tag("manage/ico_del.gif", :title=>t('manage.delete')), manage_structure_post_path(@structure.id, post.id), + <%= link_to manage_icon("delete"), manage_structure_post_path(@structure.id, post.id), :method=>:delete, :confirm=>t("manage.confirm_delete"), :class=>"icons" %> <% end %> </div> <div class="bot-bg">