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