You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
<% 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 %> |
|
|
|
<h2 class="govuk-heading-l">What is <%= @merge_request.new_organisation_name.possessive %> address?</h2> |
|
<div class="govuk-grid-row"> |
|
<div class="govuk-grid-column-two-thirds-from-desktop"> |
|
<%= 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" %> |
|
<div class="govuk-button-group"> |
|
<%= f.govuk_submit %> |
|
<%= govuk_link_to("Skip for now", new_organisation_telephone_number_merge_request_path(@merge_request)) %> |
|
</div> |
|
</div> |
|
</div> |
|
<% end %>
|
|
|