Sha256: 51f51ca9fc854c21f94d3410b63f29114bc4b9c4a27fad36f30a766bbc7fcebe

Contents?: true

Size: 645 Bytes

Versions: 5

Compression:

Stored size: 645 Bytes

Contents

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

<h1>Listing Employees</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Number</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @employees.each do |employee| %>
      <tr>
        <td><%= employee.name %></td>
        <td><%= employee.number %></td>
        <td><%= link_to 'Show', employee %></td>
        <td><%= link_to 'Edit', edit_employee_path(employee) %></td>
        <td><%= link_to 'Destroy', employee, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Employee', new_employee_path %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elfproef_plan-0.0.6 test/dummy/app/views/employees/index.html.erb
elfproef_plan-0.0.5 test/dummy/app/views/employees/index.html.erb
elfproef_plan-0.0.3 test/dummy/app/views/employees/index.html.erb
elfproef_plan-0.0.2 test/dummy/app/views/employees/index.html.erb
elfproef_plan-0.0.1 test/dummy/app/views/employees/index.html.erb