Sha256: e451b3947c8fa9f5d8b1986d77f262f84a524bb9661e84be358fed445e6479ed

Contents?: true

Size: 565 Bytes

Versions: 30

Compression:

Stored size: 565 Bytes

Contents

- page ||= @page
- group ||= @group


- if page.has_inherited_group?(group)
  %span{:class => "fake_checkbox inherited"}
    = page.title

- else
  - cssclass = "fake_checkbox"
  - cssclass << ' checked' if page.has_group?(group)
  = link_to page.title, toggle_admin_permission_url(:group_id => group.id, :page_id => page.id),  {:class => cssclass, :id => "toggle_page_#{page.id}"}

- if page.children.any?
  %ul
    - page.children.each do |child|
      %li{:id => "page_holder_#{child.id}"}
        = render :partial => 'admin/permissions/page', :object => child

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.38 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.37 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.36 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.35 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.33 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.32 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.31 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.30 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.29 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.28 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.27 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.26 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.25 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.24 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.23 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.20 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.19 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.18 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.17 app/views/admin/permissions/_page.html.haml
radiant-reader-extension-3.0.16 app/views/admin/permissions/_page.html.haml