Sha256: 15aa816412500930620831cdeda75a9060bdb676d9b7fb3a5dc662fa83725d10

Contents?: true

Size: 744 Bytes

Versions: 13

Compression:

Stored size: 744 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 spina.edit_admin_page_path(page), class: 'button button-small button-link dd-nodrag' do
        = icon('pencil-outline')
        = t('spina.edit')

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spina-0.10.0 app/views/spina/admin/pages/_page.html.haml
spina-0.9.0 app/views/spina/admin/pages/_page.html.haml
spina-0.8.3 app/views/spina/admin/pages/_page.html.haml
spina-0.8.2 app/views/spina/admin/pages/_page.html.haml
spina-0.8.1 app/views/spina/admin/pages/_page.html.haml
spina-0.8.0 app/views/spina/admin/pages/_page.html.haml
spina-0.7.3 app/views/spina/admin/pages/_page.html.haml
spina-0.7.2 app/views/spina/admin/pages/_page.html.haml
spina-0.7.0 app/views/spina/admin/pages/_page.html.haml
spina-0.6.29 app/views/spina/admin/pages/_page.html.haml
spina-0.6.28 app/views/spina/admin/pages/_page.html.haml
spina-0.6.27 app/views/spina/admin/pages/_page.html.haml
spina-0.6.26 app/views/spina/admin/pages/_page.html.haml