Sha256: 3f8d53c986c2646bcb19589f6071d211f2c5dcf1df65c2f260694aed2121cd94
Contents?: true
Size: 812 Bytes
Versions: 1
Compression:
Stored size: 812 Bytes
Contents
<div> <span class="toggle open"></span> <span class="handle"><%= category %></span> <span class="mega_menu"></span> <div class="mega_menu_links"> <%= link_to_unless_current 'show', category %> | <%= link_to 'edit', send("edit_#{@cpath}", category) %> | <%= link_to 'remove', send("sns_destroy_category_#{@cpath}", category), :confirm => 'Are you sure?', :method => :delete, :remote => !current_page?(send(@cpath, category)) %> | <%= link_to "add #{category.class.sns_subcategories_type.to_s.singularize}", send("sns_add_subcategory_#{@cpath}", category) %> | <%= link_to "add #{category.class.sns_items_type.to_s.singularize}", send("sns_add_item_#{@cpath}", category) %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sortable_nested_set-0.2.2 | app/views/sortable_nested_set/_category.html.erb |