Sha256: 7121dab916ff1c052e9d5e26e9890bd399a169adf0aa1512ff145f4f500c9f0d
Contents?: true
Size: 755 Bytes
Versions: 9
Compression:
Stored size: 755 Bytes
Contents
<div class="cbac"> <h1>Memberships</h1> <table> <tr> <th class="medium">Users</th> <% @generic_roles.each do |role| %> <th><%= role.name %></th> <% end %> </tr> <% (@users.sort do |x,y| x.name.downcase <=> y.name.downcase end).each do |u| %> <tr> <%- # TODO: documentation must contain something on users having the 'name' method/ field %> <td><%= u.name %></td> <% @generic_roles.each do |generic_role| %> <td class="checked"> <%= render :partial => "cbac/memberships/update.html", :locals => {:generic_role => generic_role, :user_id => u.id.to_s,:update_partial => false} %> </td> <% end %> </tr> <% end %> </table> </div>
Version data entries
9 entries across 9 versions & 1 rubygems