Edit Worker

<%= render 'form', worker: @worker %>
<%= link_to 'Cancel', worker_path(@worker), class: "btn btn-warning" %> <%= link_to 'Back to List', workers_path, class: "btn btn-secondary" %> <%= link_to 'Delete', @worker, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>