<%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, edition: nil), method: "get" do %>
  <%= hidden_field_tag :edition, @edition if @edition.present? %>
  <%= hidden_field_tag 'response', '' %>
  <% error_message = t("formats.simple_smart_answer.please_answer") if @flow_state.error? %>

  <% content_for :title do
      simple_smart_answer_page_title(question.title)
    end %>

  <% description = render "govuk_publishing_components/components/govspeak", {} do
    raw(question.body)
  end if question.body %>

  <%= render "govuk_publishing_components/components/radio", {
    description: description,
    error_message: error_message,
    heading_caption: @publication.title,
    heading_size: "l",
    heading: "#{@flow_state.current_question_number}. #{question.title}",
    is_page_heading: true,
    name: "response",
    items: question.options.map do |option|
      {
        text: option.label,
        value: option.slug,
        checked: option.slug == params[:previous_response],
      }
    end
  } %>

  <%= render partial: "draft_fields" %>

  <%= render "govuk_publishing_components/components/button", {
    text: t("formats.simple_smart_answer.next_step"),
    margin_bottom: true,
  } %>
<% end %>

<%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, edition: nil), method: "get" do %>
  <%= hidden_field_tag :edition, @edition if @edition.present? %>
  <%= hidden_field_tag 'response', '' %>
  <% error_message = t("formats.simple_smart_answer.please_answer") if @flow_state.error? %>

  <% content_for :title do
      simple_smart_answer_page_title(question.title)
    end %>

  <% description = render "govuk_publishing_components/components/govspeak", {} do
    raw(question.body)
  end if question.body %>

  <%= render "govuk_publishing_components/components/radio", {
    description: description,
    error_message: error_message,
    heading_caption: @publication.title,
    heading_size: "l",
    heading: "#{@flow_state.current_question_number}. #{question.title}",
    heading_level: 1,
    name: "response",
    items: question.options.map do |option|
      {
        text: option.label,
        value: option.slug,
        checked: option.slug == params[:previous_response],
      }
    end
  } %>

  <%= render partial: "draft_fields" %>

  <%= render "govuk_publishing_components/components/button", {
    text: t("formats.simple_smart_answer.next_step"),
    margin_bottom: true,
  } %>
<% end %>

Use heading_level param instead of is_page_heading
Use heading_level param instead of is_page_heading

Simple smart answers use the radio component with the is_page_heading
parameter. Some changes are being made to remove the is_page_heading
parameter, and achieve the same result using heading_level and/or
heading_size instead.
