Sha256: b376faafac8fd110f7e5624b3f573645d6b5c81cd305293a8c25b314c63fcec7

Contents?: true

Size: 516 Bytes

Versions: 5

Compression:

Stored size: 516 Bytes

Contents

<h1>Listing artists</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Album</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @artists.each do |artist| %>
  <tr>
    <td><%= artist.name %></td>
    <td><%= artist.album_id %></td>
    <td><%= link_to 'Show', artist %></td>
    <td><%= link_to 'Edit', edit_artist_path(artist) %></td>
    <td><%= link_to 'Destroy', artist, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Artist', new_artist_path %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 tests/app/views/artists/index.html.erb
restfulie-1.1.1 tests/app/views/artists/index.html.erb
restfulie-1.1.0 tests/app/views/artists/index.html.erb
restfulie-nosqlite-1.0.3 tests/app/views/artists/index.html.erb
restfulie-1.0.3 tests/app/views/artists/index.html.erb