From 57729f072501b4af646855a6ef9500354ad9f79f Mon Sep 17 00:00:00 2001 From: PaulDoyle-DEFRA <97455399+PaulDoyle-DEFRA@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:26:23 +0100 Subject: [PATCH] Fix manual company address form param name --- .../company_address_manual_forms/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/waste_carriers_engine/company_address_manual_forms/new.html.erb b/app/views/waste_carriers_engine/company_address_manual_forms/new.html.erb index 8195985f5..c44719a83 100644 --- a/app/views/waste_carriers_engine/company_address_manual_forms/new.html.erb +++ b/app/views/waste_carriers_engine/company_address_manual_forms/new.html.erb @@ -29,7 +29,7 @@

<% end %> - <%= f.fields_for :company_address do |f| %> + <%= f.fields_for :registered_address do |f| %> <%= render("waste_carriers_engine/shared/manual_address", form: @company_address_manual_form, f: f, overseas: @company_address_manual_form.overseas?) %> <% end %>