Sha256: a3a5a565e2d98260b61c797f2ff10603e02a55183b6a3c7f2dde69f3a438cfa6

Contents?: true

Size: 663 Bytes

Versions: 5

Compression:

Stored size: 663 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Listing Books</h1>

<table>
  <thead>
    <tr>
      <th>Title</th>
      <th>Author</th>
      <th>Summary</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @books.each do |book| %>
      <tr>
        <td><%= book.title %></td>
        <td><%= book.author %></td>
        <td><%= book.summary %></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

5 entries across 5 versions & 1 rubygems

Version Path
librails-0.3.0 test/dummy/app/views/books/index.html.erb
librails-0.2.3 test/dummy/app/views/books/index.html.erb
librails-0.2.2 test/dummy/app/views/books/index.html.erb
librails-0.2.1 test/dummy/app/views/books/index.html.erb
librails-0.1.0 test/dummy/app/views/books/index.html.erb