Sha256: c9f810100faf685f980aff03d281d42793eda9f749d8e401df16b49613b17daa

Contents?: true

Size: 799 Bytes

Versions: 4

Compression:

Stored size: 799 Bytes

Contents

<div>
  <span class="toggle open"></span>
  <span class="handle"><%= category %></span>
  <%= link_to image_tag('mega_menu.png'), category, :class => :mega_menu %>
  <div class="mega_menu_links">
    <%= link_to_unless_current 'show', category %> |
    <%= link_to 'edit', polymorphic_path(category, :action => :edit) %> |
    <%= link_to 'remove', category, :confirm => 'Are you sure?', :method => :delete, :remote => !current_page?(category) %> |
    <%= link_to "add #{category.class.sns_subcategories_type.to_s.singularize}",
                polymorphic_path([category, category.class], :action => :new) %> |
    <%= link_to "add #{category.class.sns_items_type.to_s.singularize}",
                polymorphic_path([category, category.class.sns_items_class], :action => :new) %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sortable_nested_set-0.4.2 app/views/sortable_nested_set/_category.html.erb
sortable_nested_set-0.4.1 app/views/sortable_nested_set/_category.html.erb
sortable_nested_set-0.4.0 app/views/sortable_nested_set/_category.html.erb
sortable_nested_set-0.3.0 app/views/sortable_nested_set/_category.html.erb