Sha256: 3f7a4d1e86b8a820f66b9bb18ce4444c551235b32c2b35f8abd6fa0379f7d5cf

Contents?: true

Size: 642 Bytes

Versions: 11

Compression:

Stored size: 642 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Listing Roles</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @roles.each do |role| %>
      <tr>
        <td><%= role.name %></td>
        <td><%= role.description %></td>
        <td><%= link_to 'Show', role_path(role.id) %></td>
        <td><%= link_to 'Edit', edit_role_path(role.id) %></td>
        <td><%= link_to 'Destroy', role_path(role.id), method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Role', new_role_path %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
arpa-0.3.0 lib/generators/arpa/templates/views/roles/index.html.erb
arpa-0.2.0 lib/generators/arpa/templates/views/roles/index.html.erb
arpa-0.1.0 lib/generators/arpa/templates/views/roles/index.html.erb
arpa-0.0.9 lib/generators/arpa/templates/views/roles/index.html.erb
arpa-0.0.8 lib/generators/arpa/templates/views/roles/index.html.erb
arpa-0.0.7 lib/generators/arpa/templates/views/roles/index.html.erb
arpa-0.0.6 lib/arpa/views/roles/index.html.erb
arpa-0.0.5 lib/arpa/views/roles/index.html.erb
arpa-0.0.4 lib/arpa/views/roles/index.html.erb
arpa-0.0.3 lib/arpa/views/roles/index.html.erb
arpa-0.0.2 lib/arpa/views/roles/index.html.erb