anchor.diff:            name: "unpublishing[alternative_url]",
             hint: "This will be automatically redirected",
             value: @unpublishing.alternative_url,
  -          error_items: (@unpublishing.errors.as_json(full_messages: true)[:alternative_url].map do |error|
  -            {
  -              "text": error,
  -            }
  -          end if @unpublishing.errors[:alternative_url].present?)
  +          error_items: errors_for(@unpublishing.errors, :alternative_url)
           } %>
   
           <%= render "govuk_publishing_components/components/button", {
  
positive.code:           data: {
              module: "paste-html-to-govspeak"
            },
            error_items: (@unpublishing.errors.as_json(full_messages: true)[:explanation].map do |error|
              {
                "text": error,
              }
            end if @unpublishing.errors[:explanation].present?)
          } %>
  
          <%= render "govuk_publishing_components/components/button", {
  
negative.code:           name: "unpublishing[alternative_url]",
            id: "published_in_error_alternative_url",
            value: @unpublishing.alternative_url,
            error_items: errors_for(@unpublishing.errors, :alternative_url)
          } %>
          <%= render "govuk_publishing_components/components/checkboxes", {
            name: "unpublishing[redirect]",
  