Sha256: 09d9f4d88b8df6539a226b0dc428ede47bd409e1702b471eb5901649ba650a71

Contents?: true

Size: 1011 Bytes

Versions: 1

Compression:

Stored size: 1011 Bytes

Contents

%div.toolbar
  %ul.actions
    %li
      %p= button_link_to t('spree.admin.menus.new_menu'), new_object_url, :icon => 'add'
  %br.clear
  
%h1= t('.listing_menus')
%h2= @menu_bar.description

%table.index.sortable{:data => {:"sortable-link" => update_positions_admin_menu_bar_menus_url(@menu_bar)}}
  %thead
    %tr
      %th= sort_link @search, :link_text, t('spree.admin.menus.link_text')
      %th= sort_link @search, :url, t('spree.admin.menus.url')
      %th= t('spree.admin.menus.page_id')
      %th= t('action')
  %tbody
    - @collection.each do |menu|
      %tr{:id => "#{spree_dom_id menu}"}
        %td
          %span.handle  
          = link_to menu.link_text
        %td
          = link_to menu.url
        %td
          - if menu.page.present?
            = link_to menu.page.title
          - else
            = t('.static_path')
        %td
          = link_to_edit menu
           
          = link_to_delete menu

= render :partial => 'spree/admin/shared/spree_menus_sidebar'
    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_essential_menus-0.1.8 app/views/spree/admin/menus/index.html.haml