app/views/books/index.html.erb
<p id="notice"><%= notice %></p>
<h1>Listing Books</h1>
<table>
<thead>
<tr>
<th>Isbn</th>
<th>Title</th>
<th>Description</th>
<th>Pc image url</th>
<th>Mb image url</th>
<th>Category</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @books.each do |book| %>
<tr>
<td><%= book.isbn %></td>
<td><%= book.title %></td>
<td><%= book.description %></td>
<td><%= book.pc_image_url %></td>
<td><%= book.mb_image_url %></td>
<td><%= book.category %></td>
<td><%= link_to 'Show', book %></td>
<td><%= link_to 'Edit', edit_book_path(book) %></td>
<td><%= link_to 'Destroy', book, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New Book', new_book_path %>