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