Sha256: e4dac4cdf995802b9935ec6c39bf3b4f48314f91471daefc06f39b98de5c05ed

Contents?: true

Size: 542 Bytes

Versions: 5

Compression:

Stored size: 542 Bytes

Contents

- include_stylesheet 'admin/reader_group'
- include_javascript 'admin/reader'

- groups = Group.find(:all)
- if groups.any?
  %p.access
    %label
      = t('reader_extension.access')
    - if @page.visible?
      = link_to t('reader_extension.access_open'), '#groups_popup', :class => 'popup unrestricted', :id => 'group_status_flag'
    - else
      = link_to t('reader_extension.access_restricted'), '#groups_popup', :class => 'popup restricted', :id => 'group_status_flag'
  - fields_for @page do |f|
    = f.hidden_field :group_ids
    

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.11 app/views/admin/pages/_page_groups.html.haml
radiant-reader-extension-3.0.10 app/views/admin/pages/_page_groups.html.haml
radiant-reader-extension-3.0.9 app/views/admin/pages/_page_groups.html.haml
radiant-reader-extension-3.0.8 app/views/admin/pages/_page_groups.html.haml
radiant-reader-extension-3.0.7 app/views/admin/pages/_page_groups.html.haml