Sha256: d550e67576b67cff1f1887457b530f0fb93e34c737500e9d1ae5e50bdef43a1d

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

<%= content_tag :div, :id => "item_#{item.id}", :class => :item do %>
  <%= content_tag :span, item, :class => :handle %>

  <%= content_tag :span, link_to('-', item), :id => "toggle_actions_item_#{item.id}", :class => :mega %>

  <%= content_tag :div, :id => "actions_item_#{item.id}", :class => :links do %>
    <%= link_to 'show', item %> |
    <%= link_to 'edit', send("edit_#{item.class.name.underscore}_path", item) %> |
    <%= link_to 'remove',
                send("sns_destroy_item_#{item.class.name.underscore}_path", item),
                :confirm => 'Are you sure?',
                :method => :delete,
                :remote => true %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sortable_nested_set-0.1.26 app/views/sortable_nested_set/_item.html.erb
sortable_nested_set-0.1.25 app/views/sortable_nested_set/_item.html.erb
sortable_nested_set-0.1.24 app/views/sortable_nested_set/_item.html.erb