From 847921ba254b2db9eb30b571a7542fac6daa3cb9 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 23 Jan 2024 20:28:22 -0600 Subject: [PATCH] Added line break on Part details page between worker names and adding new worker --- app/views/participants/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/participants/show.html.erb b/app/views/participants/show.html.erb index 0f310be..af4ce35 100644 --- a/app/views/participants/show.html.erb +++ b/app/views/participants/show.html.erb @@ -90,11 +90,11 @@ - +
<%= form_with(model: [@participant, @employment], url: link_worker_participant_path(@participant), method: :post, class: 'row g-3') do |form| %>
- <%= 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' } %>