Sha256: a9445a325880b514843a120ea27cc9317d9d8f6106317ec026b5dab943ea5b7d

Contents?: true

Size: 795 Bytes

Versions: 3

Compression:

Stored size: 795 Bytes

Contents

- title "Menu Items"

.sub-header
  .button-bar.clearfix
    = render :partial => 'search'
    .admin-links
      = link_to 'reorder menu', dust_menu_manage_path, :class => 'batch tip border', :title => "Manage Menu Items"
      = link_to 'new menu item', new_dust_menu_item_path, :class => 'newfile tip', :title => "New Menu Item"

.content-wrapper
  = will_paginate @menu_items

  - @menu_items.each do |menu_item|
    .index-item
      .clearfix{:style => "float:right"}
        = link_to "", menu_item, :confirm => 'Are you sure?', :method => :delete, :class => 'ui-icon ui-icon-close destroy tip', :title => "Destroy This Item"
      = link_to menu_item.title.capitalize, edit_dust_menu_item_path(menu_item), :class => ' edit tip', :title => "Edit This Item"

  = will_paginate @menu_items

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dust-cms-0.0.07 app/views/dust/menu_items/index.html.haml
dust-cms-0.0.06 app/views/dust/menu_items/index.html.haml
dust-cms-0.0.05 app/views/dust/menu_items/index.html.haml