Sha256: 985e3c4ff2d26129d212e8767171c173ae4bcd1d7e08986cb94d8937de0858d5

Contents?: true

Size: 705 Bytes

Versions: 2

Compression:

Stored size: 705 Bytes

Contents

<h1>Listing order_headers</h1>

<table>
  <thead>
    <tr>
      <th>Order number</th>
      <th>Customer name</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @order_headers.each do |order_header| %>
      <tr>
        <td><%= order_header.order_number %></td>
        <td><%= order_header.customer_name %></td>
        <td><%= link_to 'Show', order_header %></td>
        <td><%= link_to 'Edit', edit_order_header_path(order_header) %></td>
        <td><%= link_to 'Destroy', order_header, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Order header', new_order_header_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ext_form-0.1.5 spec/dummy/app/views/order_headers/index.html.erb
ext_form-0.1.4 spec/dummy/app/views/order_headers/index.html.erb