Sha256: a3466ec14065ae8ad4141e0c01bf63fd6963e7cc3c8cd549775069d1f7042ecf

Contents?: true

Size: 733 Bytes

Versions: 62

Compression:

Stored size: 733 Bytes

Contents

<h1>Listing Users</h1>

<table>
  <tr>
    <th>Login</th>
    <th>Name</th>
  </tr>

<%% @users.each do |user| %>
  <tr>
    <td><%%=h user.login %></td>
    <td><%%=h user.full_name %></td>
    <td><%%= link_to 'Show', <%= namespace.blank? ? "user_path(user)" : "#{namespace}_user_path(user)" %> %></td>
    <td><%%= link_to 'Edit', <%= namespace.blank? ? "edit_user_path(user)" : "edit_#{namespace}_user_path(user)" %> %></td>
    <td><%%= link_to 'Destroy', <%= namespace.blank? ? "user_path(user)" : "#{namespace}_user_path(user)" %>, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<%% end %>
</table>

<br />

<%%= link_to 'New User', <%= namespace.blank? ? "new_user_path" : "new_#{namespace}_user_path" %> %>

Version data entries

62 entries across 62 versions & 6 rubygems

Version Path
andrewzielinski-lockdown-0.9.6 rails_generators/lockdown/templates/app/views/users/index.html.erb
blaxter-lockdown-0.9.8.99 rails_generators/lockdown/templates/app/views/users/index.html.erb
blaxter-lockdown-0.9.9 rails_generators/lockdown/templates/app/views/users/index.html.erb
hone-lockdown-1.2.1 rails_generators/lockdown/templates/app/views/users/index.html.erb
hone-lockdown-1.2.2 rails_generators/lockdown/templates/app/views/users/index.html.erb
hone-lockdown-1.2.3 rails_generators/lockdown/templates/app/views/users/index.html.erb
revo-lockdown-0.9.6 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown_vail-1.6.2.1 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.6.5 rails_generators/lockdown/templates/app/views/users/index.html.erb
revo-lockdown-1.6.2.2 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.6.4 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.6.3 rails_generators/lockdown/templates/app/views/users/index.html.erb
revo-lockdown-1.6.2.1 rails_generators/lockdown/templates/app/views/users/index.html.erb
revo-lockdown-1.6.2 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.6.2 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.6.1 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.6.0 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.5.1 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.5.0 rails_generators/lockdown/templates/app/views/users/index.html.erb
lockdown-1.3.2 rails_generators/lockdown/templates/app/views/users/index.html.erb