Sha256: 7467d0e11824d80f9a0a85a03c0df6a8cc15d235d54509d5088171cfc58d498f

Contents?: true

Size: 511 Bytes

Versions: 5

Compression:

Stored size: 511 Bytes

Contents

<h1>Listing books</h1>

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

  <tbody>
    <% @books.each do |book| %>
      <tr>
        <td><%= book.title %></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
activerecord-refresh_connection-0.0.5 example/app/views/books/index.html.erb
activerecord-refresh_connection-0.0.4 example/app/views/books/index.html.erb
activerecord-refresh_connection-0.0.3 example/app/views/books/index.html.erb
activerecord-refresh_connection-0.0.2 example/app/views/books/index.html.erb
activerecord-refresh_connection-0.0.1 example/app/views/books/index.html.erb