Skip to content

Commit

Permalink
Fix the household and income subflow delete confirmation flows.
Browse files Browse the repository at this point in the history
  • Loading branch information
bseeger committed May 3, 2024
1 parent a98fd9d commit 48eddf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/main/resources/flows-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ flow:
condition: HasIncome
- name: householdAdditionalIncome
householdIncomeByJob:
subflow: income
nextScreens:
- name: householdIncomeWho
householdIncomeWho:
Expand Down Expand Up @@ -336,7 +337,7 @@ subflows:
reviewScreen: householdList
deleteConfirmationScreen: householdMemberDeleteConfirmation
income:
entryScreen: householdIncomeByJob
entryScreen: householdIncome
iterationStartScreen: householdIncomeWho
reviewScreen: householdIncomeList
deleteConfirmationScreen: householdIncomeDeleteConfirmation
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<div class="grid">
<div th:replace="~{fragments/goBack :: goBackLink}"></div>
<main id="content" role="main" class="form-card spacing-above-35">
<th:block th:replace="~{fragments/icons :: 'deleteDocument'}"></th:block>
<th:block th:if="${noEntryToDelete != null}">
<th:block
th:replace="~{fragments/cardHeader :: cardHeader(header=#{delete-confirmation-back-redirect.header})}"/>
Expand All @@ -22,12 +23,11 @@
</th:block>
<th:block th:if="${noEntryToDelete == null}">
<div class="form-card__content">
<th:block th:replace="~{fragments/icons :: 'deleteDocument'}"></th:block>
<h1 class="h2"
th:text="${title}"></h1>
<h1 class="h2" th:text="${title}"></h1>
</div>
<div class="form-card__footer">
<a class="button button--primary" th:href="'/flow/' + ${flow} + '/incomeReview'"
<a class="button button--primary"
th:href="'/flow/' + ${flow} + '/householdIncomeList'"
th:text="#{income-delete-confirmation.no}"></a>
<form method="post"
th:action="'/flow/' + ${flow} + '/' + ${subflow} + '/' + ${param.uuid} + '/delete'">
Expand Down

0 comments on commit 48eddf4

Please sign in to comment.