<% content_for :before_content do %> <% title = "New organisation address" %> <% content_for :title, title %> <%= govuk_back_link href: new_organisation_name_merge_request_path(@merge_request) %> <% end %> <%= form_with model: @merge_request, url: merge_request_path, method: :patch do |f| %> <%= f.govuk_error_summary %>

What is <%= @merge_request.new_organisation_name.possessive %> address?

<%= f.govuk_text_field :new_organisation_address_line1, label: { text: "Address line 1", size: "m" }, autocomplete: "address-line1" %> <%= f.govuk_text_field :new_organisation_address_line2, label: { text: "Address line 2", size: "m" }, autocomplete: "address-line2" %> <%= f.govuk_text_field :new_organisation_postcode, label: { text: "Postcode", size: "m" }, autocomplete: "postal-code", width: 10 %> <%= f.hidden_field :page, value: "new_organisation_address" %>
<%= f.govuk_submit %> <%= govuk_link_to("Skip for now", new_organisation_telephone_number_merge_request_path(@merge_request)) %>
<% end %>