Sha256: 81ce9dead9d919fde9c86ff18a7a9125c3311565ae0c0626beced0a6ae134e6c

Contents?: true

Size: 696 Bytes

Versions: 8

Compression:

Stored size: 696 Bytes

Contents

<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

8 entries across 8 versions & 1 rubygems

Version Path
integration_pal-0.2.3 app/views/integration_pal/workers/index.html.erb
integration_pal-0.2.2 app/views/integration_pal/workers/index.html.erb
integration_pal-0.2.1 app/views/integration_pal/workers/index.html.erb
integration_pal-0.2.0 app/views/integration_pal/workers/index.html.erb
integration_pal-0.1.6 app/views/integration_pal/workers/index.html.erb
integration_pal-0.1.5 app/views/integration_pal/workers/index.html.erb
integration_pal-0.1.4 app/views/integration_pal/workers/index.html.erb
integration_pal-0.1.3 app/views/integration_pal/workers/index.html.erb