app/views/notes/index.html.erb
<p id="notice"><%= notice %></p>
<h1>Listing Notes</h1>
<table>
<thead>
<tr>
<th>Note</th>
<th>Book case</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @notes.each do |note| %>
<tr>
<td><%= note.note %></td>
<td><%= note.book_case %></td>
<td><%= link_to 'Show', note %></td>
<td><%= link_to 'Edit', edit_note_path(note) %></td>
<td><%= link_to 'Destroy', note, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New Note', new_note_path %>