Sha256: 9f7b4395b0d093e8fcdb5b74edcb3ebbc66bfa479f9b842bec0609ea2216bf20

Contents?: true

Size: 506 Bytes

Versions: 6

Compression:

Stored size: 506 Bytes

Contents

<h1>Listing pianos</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Image</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @pianos.each do |piano| %>
  <tr>
    <td><%= piano.name %></td>
    <td><%= piano.image %></td>
    <td><%= link_to 'Show', piano %></td>
    <td><%= link_to 'Edit', edit_piano_path(piano) %></td>
    <td><%= link_to 'Destroy', piano, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Piano', new_piano_path %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cardboard_cms-0.3.1 test/dummy/app/views/pianos/index.html.erb
cardboard_cms-0.2.2 test/dummy/app/views/pianos/index.html.erb
cardboard_cms-0.2.1 test/dummy/app/views/pianos/index.html.erb
cardboard_cms-0.1.8 test/dummy/app/views/pianos/index.html.erb
cardboard_cms-0.1.6 test/dummy/app/views/pianos/index.html.erb
cardboard_cms-0.1.4 test/dummy/app/views/pianos/index.html.erb