lpa rep pdf tweaks
This commit is contained in:
@@ -228,8 +228,11 @@ let RepLPA = (props) => {
|
||||
<>
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-form-group">
|
||||
{typeof formObj.representationForm.values
|
||||
.representationType == "undefined" ? (
|
||||
{!(
|
||||
"values" in formObj.representationForm &&
|
||||
"representationType" in
|
||||
formObj.representationForm.values
|
||||
) ? (
|
||||
<>
|
||||
<h2 className="govuk-heading-m ">
|
||||
{typeof props.representationType != "undefined"
|
||||
@@ -356,6 +359,7 @@ let RepLPA = (props) => {
|
||||
{typeof props.representationType != "undefined" &&
|
||||
props.representationType == "Questionnaire" && (
|
||||
<>
|
||||
{showQuestionnaireSection}
|
||||
{showQuestionnaireSection <=
|
||||
questionnaireCount && (
|
||||
<button
|
||||
@@ -363,7 +367,9 @@ let RepLPA = (props) => {
|
||||
className="govuk-button"
|
||||
data-module="govuk-button"
|
||||
>
|
||||
{t("common:continue-button")}
|
||||
{t("common:continue-button")} www
|
||||
{showQuestionnaireSection} -{" "}
|
||||
{questionnaireCount}
|
||||
</button>
|
||||
// <a
|
||||
// href="#"
|
||||
@@ -377,13 +383,15 @@ let RepLPA = (props) => {
|
||||
// Next section
|
||||
// </a>
|
||||
)}
|
||||
{showQuestionnaireSection == 9 && (
|
||||
{showQuestionnaireSection ==
|
||||
questionnaireCount && (
|
||||
<button
|
||||
type="submit"
|
||||
className="govuk-button"
|
||||
data-module="govuk-button"
|
||||
>
|
||||
{t("common:continue-button")}
|
||||
{t("common:continue-button")} -{" "}
|
||||
{showQuestionnaireSection}
|
||||
</button>
|
||||
)}
|
||||
{showQuestionnaireSection > 1 && (
|
||||
@@ -408,7 +416,7 @@ let RepLPA = (props) => {
|
||||
className="govuk-button"
|
||||
data-module="govuk-button"
|
||||
>
|
||||
{t("common:continue-button")}
|
||||
{t("common:continue-button")} ==
|
||||
</button>
|
||||
<a
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user