Sha256: d70009149ad3aab27f2b365a68be16feb32083b8cd46f9fc42319bf1136c0002

Contents?: true

Size: 515 Bytes

Versions: 10

Compression:

Stored size: 515 Bytes

Contents

.set
  %p
    = t('allowed_groups')
    - Group.find(:all).each do |group|
      = check_box_tag "page[group_ids][]", group.id, @page.has_inherited_group?(group), :id => "page_group_#{group.id}", :disabled => @page.group_is_inherited?(group)
      - if @page.group_is_inherited?(group)
        %label.checkbox{:for => "page_group_#{group.id}", :class => 'disabled', :title => t('inherited_group')}
          = group.name
      - else
        %label.checkbox{:for => "page_group_#{group.id}"}
          = group.name

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
radiant-reader_group-extension-1.2.4 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.2.3 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.2.2 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.2.1 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.2.0 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.1.2 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.1.1 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.1.0 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.0.1 app/views/admin/pages/_page_groups.html.haml
radiant-reader_group-extension-1.0.0 app/views/admin/pages/_page_groups.html.haml