Added line break on Part details page between worker names and adding new worker

This commit is contained in:
Ben 2024-01-23 20:28:22 -06:00
parent 8d59f7b788
commit 847921ba25
1 changed files with 2 additions and 2 deletions

View File

@ -90,11 +90,11 @@
</tbody>
</table>
<br>
<%= form_with(model: [@participant, @employment], url: link_worker_participant_path(@participant), method: :post, class: 'row g-3') do |form| %>
<div class="col-md-6">
<%= form.label :worker_id, "Select Worker", class: 'form-label' %>
<%= form.label :worker_id, "Add New Worker", class: 'form-label' %>
<%= form.collection_select :worker_id, Worker.all, :id, :full_name, { include_blank: true, prompt: "Select a Worker" }, { class: 'form-select' } %>
</div>