Sha256: 60a044654317a2e1b960b23791cfc083d3496937ac06d1372e24e0efb6ed78ea
Contents?: true
Size: 863 Bytes
Versions: 3
Compression:
Stored size: 863 Bytes
Contents
<p id="notice"><%= notice %></p> <h1>Listing Books</h1> <table> <thead> <tr> <th>Title</th> <th>Author</th> <th>Description</th> <th>Price</th> <th>Published at</th> <th>Discounted</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @books.each do |book| %> <tr> <td><%= book.title %></td> <td><%= book.author %></td> <td><%= book.description %></td> <td><%= book.price %></td> <td><%= book.published_at %></td> <td><%= book.discounted %></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 %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
skins-0.0.3 | test/dummy/app/views/books/index.html.erb |
skins-0.0.2 | test/dummy/app/views/books/index.html.erb |
skins-0.0.1 | test/dummy/app/views/books/index.html.erb |