Sha256: 470f9ca6772426320db08a98d46d285fa58e05396e635cd04f8898c7df5bec14
Contents?: true
Size: 892 Bytes
Versions: 62
Compression:
Stored size: 892 Bytes
Contents
<h1>Listing User Groups</h1> <table> <tr> <th>Name</th> </tr> <%% for user_group in @user_groups %> <tr> <td><%%=h user_group.name %></td> <td><%%= link_to 'Show', <%= namespace.blank? ? "user_group_path(user_group)" : "#{namespace}_user_group_path(user_group)" %> %></td> <td><%%= link_to('Edit', <%= namespace.blank? ? "edit_user_group_path(user_group)" : "edit_#{namespace}_user_group_path(user_group)" %>) unless Lockdown::System.has_user_group?(user_group) %></td> <td><%%= link_to('Destroy',<%= namespace.blank? ? "user_group_path(user_group)" : "#{namespace}_user_group_path(user_group)" %>, :confirm => 'Are you sure?', :method => :delete) unless Lockdown::System.has_user_group?(user_group) %></td> </tr> <%% end %> </table> <br /> <%%= link_to 'New User Group', <%= namespace.blank? ? "new_user_group_path" : "new_#{namespace}_user_group_path" %> %>
Version data entries
62 entries across 62 versions & 6 rubygems