diff --git a/app/views/form/check_answers.html.erb b/app/views/form/check_answers.html.erb index 555702c6f..abd0ed914 100644 --- a/app/views/form/check_answers.html.erb +++ b/app/views/form/check_answers.html.erb @@ -19,9 +19,9 @@ <% subsection.applicable_questions(@case_log).group_by(&:check_answers_card_number).values.each do |question_group| %> <%= render CheckAnswersSummaryListCardComponent.new(questions: question_group, case_log: @case_log, user: current_user) %> -
-
-
+
+
+
<% end %> <%= form_with model: @case_log, method: "get" do |f| %> diff --git a/app/views/locations/edit.html.erb b/app/views/locations/edit.html.erb index 8260cab7e..af398d192 100644 --- a/app/views/locations/edit.html.erb +++ b/app/views/locations/edit.html.erb @@ -7,17 +7,14 @@ ) %> <% end %> - -<%= form_for(@location, method: :patch, url: location_path) do |f| %> +<%= form_for(@location, method: :patch, url: location_path(location_id: @location.id)) do |f| %>
<%= f.govuk_error_summary %> - <%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %> - <%= f.govuk_text_field :postcode, label: { size: "m" }, hint: { text: I18n.t("hints.location.postcode") }, diff --git a/app/views/locations/edit_name.html.erb b/app/views/locations/edit_name.html.erb index 544c6af43..087ca0812 100644 --- a/app/views/locations/edit_name.html.erb +++ b/app/views/locations/edit_name.html.erb @@ -12,7 +12,6 @@
<%= f.govuk_error_summary %> - <%= render partial: "organisations/headings", locals: { main: "Location name for #{@location.postcode}", sub: @scheme.service_name } %> <%= f.govuk_text_field :name,