Sha256: 4d909ee54afa1451866e9d45067f35ebb087d8176c88d9a9578b50fc1d11716c

Contents?: true

Size: 626 Bytes

Versions: 11

Compression:

Stored size: 626 Bytes

Contents

<h1>Listing bookings</h1>

<table>
  <thead>
    <tr>
      <th>Thing</th>
      <th>Referrer</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @bookings.each do |booking| %>
      <tr>
        <td><%= booking.thing %></td>
        <td><%= booking.referrer %></td>
        <td><%= link_to 'Show', booking %></td>
        <td><%= link_to 'Edit', edit_booking_path(booking) %></td>
        <td><%= link_to 'Destroy', booking, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Booking', new_booking_path %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
acts_as_referred-0.2.0 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.7 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.6 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.5 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.4 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.3 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.2 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.1 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.1.0 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.0.2 test/dummy/app/views/bookings/index.html.erb
acts_as_referred-0.0.1 test/dummy/app/views/bookings/index.html.erb