check form updates

This commit is contained in:
2022-06-07 14:36:47 +01:00
parent 3b61d651f6
commit 9d90b7f0a8
22 changed files with 356 additions and 133 deletions
+5 -5
View File
@@ -193,7 +193,7 @@ let BuildSection = (props) => {
<div className="govuk-grid-row">
<div className="govuk-grid-column-two-thirds">
<h1 className="govuk-heading-m govuk-!-margin-top-5">
{titles[0].value}
{FieldsTranslations(titles[0].value)}
</h1>
<form onSubmit={handleSubmit(onHandleSubmit)}>
{hasErrors == true ? (
@@ -222,7 +222,7 @@ let BuildSection = (props) => {
data-module="govuk-button"
onClick={() => getErrors()}
>
Continue
{t("common:continue-button")}
</button>
) : (
""
@@ -233,7 +233,7 @@ let BuildSection = (props) => {
className="govuk-button"
data-module="govuk-button"
>
Submit
{t("common:submit-button")}
</button>
) : (
""
@@ -246,7 +246,7 @@ let BuildSection = (props) => {
setCurrentSection(currentSection - 1)
}
>
Back
{t("common:back-link")}
</a>
) : (
""
@@ -372,7 +372,7 @@ let BuildSection = (props) => {
);
}}
>
Save and exit
{t("common:save-exit-button")}
</button>
</div>
</div>