Sha256: b18519cd43615c60521f6d5559fc21bee37c8d73021a3fc9c2df5844fdb3e0da

Contents?: true

Size: 594 Bytes

Versions: 25

Compression:

Stored size: 594 Bytes

Contents

- chooser ||= @page
- if chooser
  - root ||= nil
  - disabled ||= false
  - branches = root ? root.children : Group.roots

  %ul{:class => root ? '' : 'tree'}
    - branches.each do |group|
      %li
        - checked = chooser.has_group?(group)
        = check_box_tag 'group_ids', group.id, checked, :id => "group_ids_#{group.id}", :class => "treebox", :disabled => disabled
        %label{:for => "group_ids_#{group.id}", :class => 'checkbox'} 
          = group.name
        = render :partial => 'admin/groups/chooser', :object => chooser, :locals => {:root => group, :disabled => checked}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.35 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.33 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.32 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.31 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.30 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.29 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.28 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.27 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.26 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.25 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.24 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.23 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.20 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.19 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.18 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.17 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.16 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.15 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.14 app/views/admin/groups/_chooser.html.haml
radiant-reader-extension-3.0.13 app/views/admin/groups/_chooser.html.haml