Sha256: 67ec5fbb1bbcdf0b05a2cdbc322e9fe39908ecd5d52a1acdfeff1dd47dda859e
Contents?: true
Size: 571 Bytes
Versions: 4
Compression:
Stored size: 571 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, admin_toggle_group_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
4 entries across 4 versions & 1 rubygems