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

Version Path
lockdown-1.3.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.3.0 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.2.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.2.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.2.0 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.1.5 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.1.6 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.1.3 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.0.0 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.0.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.0.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.0.3 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.0.4 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.0.5 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.0.6 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.1.0 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.1.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.1.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-0.5.16 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-0.5.17 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb