orbit-basic/app/views/admin/items/_link.html.erb

11 lines
424 B
Plaintext
Raw Normal View History

<td><%= item.class %></td>
2010-01-18 07:52:52 +00:00
<td><%= link_to item.name, admin_items_path(:parent_name => item.name) %></td>
<td><%=h item.title %>
<td><%= item.position %></td>
<td><%= item.is_published.to_s %></td>
<td>
2010-02-05 09:18:57 +00:00
<%= link_to t(:show), item.url %> |
<%= link_to t(:edit), edit_admin_link_path(item) %> |
<%= link_to t(:delete), admin_link_path(item), :confirm => 'Are you sure?', :method => :delete %>
</td>