{% extends "casa/layouts/journey.njk" %}

{% from "casa/components/radios/macro.njk" import casaGovukRadios with context %}

{% block casaPageTitle %}
  {{ t("casa-looper-plugin-remove:pageTitle") }} - {{ t("common:serviceName") }}
{% endblock %}

{% block journey_form %}
  {{ casaGovukRadios({
    name: "confirm",
    fieldset: {
      legend: {
        text: t("casa-looper-plugin-remove:pageTitle"),
        isPageHeading: true,
        classes: "govuk-fieldset__legend--xl"
      }
    },
    items: [{
      value: "yes",
      text: t("common:yes")
    }, {
      value: "no",
      text: t("common:no")
    }],
    casaWithAnalytics: true,
    casaValue: formData.confirm,
    casaErrors: formErrors
  }) }}
{% endblock %}
