Sha256: a66428fff805e87c605f6c3bd6e10bb79800444d3ee579e2fda1fbd9bbb90d25

Contents?: true

Size: 730 Bytes

Versions: 3

Compression:

Stored size: 730 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Workers</h1>

<table class='table'>
  <thead>
    <tr>
      <th>ID</th>
      <th>Name</th>
      <th>Access ID</th>
      <th>Job Type</th>
      <th colspan="2"></th>
    </tr>
  </thead>

  <tbody>
    <% @workers.each do |worker| %>
      <tr>
        <td><%= worker.id %></td>
        <td><%= worker.name %></td>
        <td><%= worker.access_id %></td>
        <td><%= worker.job_type %></td>
        <td><%= link_to 'Edit', edit_worker_path(worker) %></td>
        <td><%= link_to 'Destroy', worker, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Worker', new_worker_path, class: 'btn btn-primary' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
integration_pal-0.1.2 app/views/integration_pal/workers/index.html.erb
integration_pal-0.1.1 app/views/integration_pal/workers/index.html.erb
integration_pal-0.1.0 app/views/integration_pal/workers/index.html.erb