Added line break on Part details page between worker names and adding new worker
This commit is contained in:
parent
8d59f7b788
commit
847921ba25
|
@ -90,11 +90,11 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
<%= form_with(model: [@participant, @employment], url: link_worker_participant_path(@participant), method: :post, class: 'row g-3') do |form| %>
|
<%= form_with(model: [@participant, @employment], url: link_worker_participant_path(@participant), method: :post, class: 'row g-3') do |form| %>
|
||||||
<div class="col-md-6">
|
<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' } %>
|
<%= form.collection_select :worker_id, Worker.all, :id, :full_name, { include_blank: true, prompt: "Select a Worker" }, { class: 'form-select' } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue