Sha256: be247318d88d6f01c4392c441189a47bea3f1a6b6e0225529f210514061a92ad

Contents?: true

Size: 711 Bytes

Versions: 12

Compression:

Stored size: 711 Bytes

Contents

%li.dd-item{data: {id: page.id}}
  %div.dd-item-inner
    = link_to spina.edit_admin_page_path(page), class: 'button button-link button-small sortable-link' do
      = page.menu_title
      - if page.draft?
        %small (#{t('spina.pages.concept')})
      - elsif !page.show_in_menu?
        %small (#{t('spina.pages.show_in_menu')})

      - if page.skip_to_first_child
        %small (#{raw t('spina.pages.skip_to_first_child')})

    %span.pull-right= link_to t('spina.edit'), spina.edit_admin_page_path(page), class: 'button button-small button-link dd-nodrag', data: {icon: 'q'}

  - if page.children.active.present?
    %ol.dd-list
      = render partial: 'page', collection: page.children.active.sorted

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spina-0.6.24 app/views/spina/admin/pages/_page.html.haml
spina-0.6.23 app/views/spina/admin/pages/_page.html.haml
spina-0.6.22 app/views/spina/admin/pages/_page.html.haml
spina-0.6.21 app/views/spina/admin/pages/_page.html.haml
spina-0.6.20 app/views/spina/admin/pages/_page.html.haml
spina-0.6.19 app/views/spina/admin/pages/_page.html.haml
spina-0.6.18 app/views/spina/admin/pages/_page.html.haml
spina-0.6.17 app/views/spina/admin/pages/_page.html.haml
spina-0.6.16 app/views/spina/admin/pages/_page.html.haml
spina-0.6.15 app/views/spina/admin/pages/_page.html.haml
spina-0.6.14 app/views/spina/admin/pages/_page.html.haml
spina-0.6.13 app/views/spina/admin/pages/_page.html.haml