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
andrewzielinski-lockdown-0.9.6 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
blaxter-lockdown-0.9.8.99 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
blaxter-lockdown-0.9.9 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
hone-lockdown-1.2.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
hone-lockdown-1.2.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
hone-lockdown-1.2.3 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
revo-lockdown-0.9.6 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown_vail-1.6.2.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.6.5 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
revo-lockdown-1.6.2.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.6.4 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.6.3 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
revo-lockdown-1.6.2.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
revo-lockdown-1.6.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.6.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.6.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.6.0 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.5.1 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.5.0 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb
lockdown-1.3.2 rails_generators/lockdown/templates/app/views/user_groups/index.html.erb