Sha256: b050e2e2ff3bc78a46c9cdb37893cd898771bdfd3fb7722047b92763fdfba0f5

Contents?: true

Size: 508 Bytes

Versions: 14

Compression:

Stored size: 508 Bytes

Contents

<h1>Listing orders</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Amount</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @orders.each do |order| %>
  <tr>
    <td><%= order.name %></td>
    <td><%= order.amount %></td>
    <td><%= link_to 'Show', order %></td>
    <td><%= link_to 'Edit', edit_order_path(order) %></td>
    <td><%= link_to 'Destroy', order, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Order', new_order_path %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
opay-1.1.3 spec/dummy/app/views/orders/index.html.erb
opay-1.1.2 spec/dummy/app/views/orders/index.html.erb
opay-1.1.1 spec/dummy/app/views/orders/index.html.erb
opay-1.1.0 spec/dummy/app/views/orders/index.html.erb
opay-1.0.9 spec/dummy/app/views/orders/index.html.erb
opay-1.0.8 spec/dummy/app/views/orders/index.html.erb
opay-1.0.7 spec/dummy/app/views/orders/index.html.erb
opay-1.0.6 spec/dummy/app/views/orders/index.html.erb
opay-1.0.5 spec/dummy/app/views/orders/index.html.erb
opay-1.0.4 spec/dummy/app/views/orders/index.html.erb
opay-1.0.3 spec/dummy/app/views/orders/index.html.erb
opay-1.0.1 spec/dummy/app/views/orders/index.html.erb
opay-1.0.0 spec/dummy/app/views/orders/index.html.erb
opay-1.0.0.beta spec/dummy/app/views/orders/index.html.erb