check form updates
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user