toshogakari/eLib

View on GitHub
app/views/books/show.html.erb

Summary

Maintainability
Test Coverage
<p id="notice"><%= notice %></p>

<p>
  <strong>Isbn:</strong>
  <%= @book.isbn %>
</p>

<p>
  <strong>Title:</strong>
  <%= @book.title %>
</p>

<p>
  <strong>Description:</strong>
  <%= @book.description %>
</p>

<p>
  <strong>Pc image url:</strong>
  <%= @book.pc_image_url %>
</p>

<p>
  <strong>Mb image url:</strong>
  <%= @book.mb_image_url %>
</p>

<p>
  <strong>Category:</strong>
  <%= @book.category %>
</p>

<%= link_to 'Edit', edit_book_path(@book) %> |
<%= link_to 'Back', books_path %>