<%= text_field_tag :new_contact_id, params[:new_contact_id],
list: :contacts,
required: true,
diff --git a/app/views/registrar/bulk_change/_tech_contact_form.html.erb b/app/views/registrar/bulk_change/_tech_contact_form.html.erb
index 2848e3634..789db92ba 100644
--- a/app/views/registrar/bulk_change/_tech_contact_form.html.erb
+++ b/app/views/registrar/bulk_change/_tech_contact_form.html.erb
@@ -10,7 +10,7 @@
<%= label_tag :current_contact_id, t('.current_contact_id') %>
+
<%= text_field_tag :current_contact_id, params[:current_contact_id],
list: :contacts,
required: true,
@@ -24,7 +24,7 @@
<%= label_tag :new_contact_id, t('.new_contact_id') %>
-
+
<%= text_field_tag :new_contact_id, params[:new_contact_id],
list: :contacts,
required: true,
diff --git a/test/system/registrar_area/bulk_change/tech_contact_test.rb b/test/system/registrar_area/bulk_change/tech_contact_test.rb
index e08457f60..055ec25ca 100644
--- a/test/system/registrar_area/bulk_change/tech_contact_test.rb
+++ b/test/system/registrar_area/bulk_change/tech_contact_test.rb
@@ -16,8 +16,8 @@ class RegistrarAreaTechContactBulkChangeTest < ApplicationSystemTestCase
visit registrar_domains_url
click_link 'Bulk change'
- fill_in 'Current contact ID', with: 'william-001'
- fill_in 'New contact ID', with: 'john-001'
+ find('.current_tech_contact').fill_in 'Current contact ID', with: 'william-001'
+ find('.new_tech_contact').fill_in 'New contact ID', with: 'john-001'
click_on 'Replace technical contacts'
assert_requested request_stub
@@ -36,8 +36,8 @@ class RegistrarAreaTechContactBulkChangeTest < ApplicationSystemTestCase
visit registrar_domains_url
click_link 'Bulk change'
- fill_in 'Current contact ID', with: 'william-001'
- fill_in 'New contact ID', with: 'john-001'
+ find('.current_tech_contact').fill_in 'Current contact ID', with: 'william-001'
+ find('.new_tech_contact').fill_in 'New contact ID', with: 'john-001'
click_on 'Replace technical contacts'
assert_text 'epic fail'