Sha256: a7b47ea315796d9df9ee7545d3ac6ab9f0acc4b36f4f9f20fd1fb7aa0db20050

Contents?: true

Size: 467 Bytes

Versions: 15

Compression:

Stored size: 467 Bytes

Contents

- reader ||= @reader
- group ||= @group
- membership = reader.membership_of(group)
- cssclass = membership ? "fake_checkbox checked" : "fake_checkbox unchecked"

= link_to reader.preferred_name, toggle_admin_membership_url(:group_id => group.id, :reader_id => reader.id),  {:class => cssclass, :id => "toggle_reader_#{reader.id}"}
- if membership
  %span.role
    = render :partial => 'admin/memberships/role', :locals => {:membership => membership, :group => group}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.38 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.37 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.36 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.35 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.33 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.32 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.31 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.30 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.29 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.28 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.27 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.26 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.25 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.24 app/views/admin/memberships/_reader.html.haml
radiant-reader-extension-3.0.23 app/views/admin/memberships/_reader.html.haml