Sha256: c36c5b78f79fb3948de527c81930b36f232789277e92738de5141ccad23b90c8

Contents?: true

Size: 821 Bytes

Versions: 2

Compression:

Stored size: 821 Bytes

Contents

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

<h1>Listing Profiles</h1>

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

  <tbody>
    <% @profiles.each do |profile| %>
      <tr>
        <td><%= profile.name %></td>
        <td><%= profile.description %></td>
        <td><%= profile.entity_id %></td>
        <td><%= profile.entity_class %></td>
        <td><%= link_to 'Show', profile_path(profile.id) %></td>
        <td><%= link_to 'Edit', edit_profile_path(profile.id) %></td>
        <td><%= link_to 'Destroy', profile_path(profile.id), method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Profile', new_profile_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arpa-0.3.0 lib/generators/arpa/templates/views/profiles/index.html.erb
arpa-0.2.0 lib/generators/arpa/templates/views/profiles/index.html.erb