Sha256: f401f1babdbcfdfb831c2097713e6635504dae58d5aa8d265162b078a51e7b39

Contents?: true

Size: 780 Bytes

Versions: 2

Compression:

Stored size: 780 Bytes

Contents

<h1>Listing customers</h1>

<table>
  <thead>
    <tr>
      <th>Cust</th>
      <th>Prefix</th>
      <th>Folder name</th>
      <th>Error email recipients</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @customers.each do |customer| %>
      <tr>
        <td><%= customer.cust_id %></td>
        <td><%= customer.prefix %></td>
        <td><%= customer.folder_name %></td>
        <td><%= customer.error_email_recipients %></td>
        <td><%= link_to 'Show', customer %></td>
        <td><%= link_to 'Edit', edit_customer_path(customer) %></td>
        <td><%= link_to 'Destroy', customer, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Customer', new_customer_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
request_refinery-0.0.2 app/views/request_refinery/customers/index.html.erb
request_refinery-0.0.1 app/views/request_refinery/customers/index.html.erb