diff --git a/app/views/participants/_form.html.erb b/app/views/participants/_form.html.erb
index d9c17d4..881043e 100644
--- a/app/views/participants/_form.html.erb
+++ b/app/views/participants/_form.html.erb
@@ -31,15 +31,21 @@
- <%= form.label :is_employer, 'Is this participant also an employer?', class: 'form-label' %>
-
- <%= radio_button_tag 'is_employer', 'yes', false, class: 'form-check-input' %>
- <%= label_tag 'is_employer_yes', 'Yes', class: 'form-check-label' %>
- <%= radio_button_tag 'is_employer', 'no', true, class: 'form-check-input' %>
- <%= label_tag 'is_employer_no', 'No', class: 'form-check-label' %>
+ <%= form.label :is_employer, 'Is this participant also an employer?', class: 'form-label' %>
+
+ <%= radio_button_tag 'is_employer', 'yes', true, class: 'form-check-input' %>
+ <%= label_tag 'is_employer_yes', 'Yes', class: 'form-check-label' %>
+ <%= radio_button_tag 'is_employer', 'no', false, class: 'form-check-input' %>
+ <%= label_tag 'is_employer_no', 'No', class: 'form-check-label' %>
+
-
+
+ <%= label_tag :employer_name, 'Employer Name', class: 'form-label' %>
+ <%= text_field_tag :employer_name, nil, id: 'employer-autocomplete', class: 'form-control', placeholder: 'Start typing employer name...' %>
+
+ <%= hidden_field_tag :employer_id, nil, id: 'selected-employer-id' %>
+
<%= form.label :mci, 'MCI', class: 'form-label' %>
@@ -154,25 +160,48 @@
+
+
+
+<%# This is to change the Employer input field on Radio Button selection %>
+
+
+
diff --git a/app/views/participants/edit.html.erb b/app/views/participants/edit.html.erb
index c289faa..20b5e99 100644
--- a/app/views/participants/edit.html.erb
+++ b/app/views/participants/edit.html.erb
@@ -8,6 +8,7 @@
<%= link_to 'Show', @participant, class: "btn btn-info" %>
<%= link_to 'Back to List', participants_path, class: "btn btn-secondary" %>
+ <%= link_to 'Delete', @participant, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
diff --git a/app/views/participants/index.html.erb b/app/views/participants/index.html.erb
index 961762f..162f2c9 100644
--- a/app/views/participants/index.html.erb
+++ b/app/views/participants/index.html.erb
@@ -30,7 +30,7 @@
<%= participant.gender %> |
<%= link_to 'Show', participant, class: 'btn btn-sm btn-info' %> |
<%= link_to 'Edit', edit_participant_path(participant), class: 'btn btn-sm btn-primary' %> |
- <%= link_to 'Destroy', participant, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-sm btn-danger' %> |
+
<% end %>