Sha256: 27ac4c972f88d011a967e0fc65de7357e24015c8273359e00d0864147533bc31

Contents?: true

Size: 1018 Bytes

Versions: 2

Compression:

Stored size: 1018 Bytes

Contents

.page-header
  = link_to t('.new_link'), new_cms_admin_site_menu_path(@site), :class => 'btn pull-right'
  %h2= t('.title')

- content_for :right_column do
  = render :partial => 'cms_admin/sites/mirrors'

%table.table.table-hover.table-bordered
  %tbody.sortable
    - @menus.each do |menu|
      %tr{:id => dom_id(menu)}
        %td
          .icon
            - if !params[:category].present? && @site.menus.count > 1
              .dragger
                %span ⇅
        %td.main
          .item-title
            = link_to menu.label, edit_cms_admin_site_menu_path(@site, menu)
        %td
          .btn-group
            = link_to t('.edit'), edit_cms_admin_site_menu_path(@site, menu), :class => 'btn btn-small'
            = link_to t('.menu_items'), cms_admin_site_menu_menu_items_path(@site, menu), :class => 'btn btn-small'
            = link_to t('.delete'), cms_admin_site_menu_path(@site, menu), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-small btn-danger'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comfypress-0.1.4 app/views/cms_admin/menus/index.html.haml
comfypress-0.1.3 app/views/cms_admin/menus/index.html.haml