generated from codeforamerica/form-flow-starter-app
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix codeql detected missing override
- Loading branch information
1 parent
4a5d462
commit 11ec4de
Showing
6 changed files
with
55 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 43 additions & 25 deletions
68
src/main/resources/templates/laDigitalAssister/householdIncomeDeleteConfirmation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html th:lang="${#locale.language}"> | ||
<head th:replace="fragments/head :: head(title='Scaffold')"></head> | ||
<body> | ||
<div class="page-wrapper"> | ||
<div th:replace="fragments/toolbar :: toolbar"></div> | ||
<section class="slab"> | ||
<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/cardHeader' :: cardHeader(header=#{}, subtext=#{})"/>--> | ||
<th:block th:replace="'fragments/form' :: form(action=${formAction}, content=~{::formContent})"> | ||
<th:block th:ref="formContent"> | ||
<th:block th:with=" | ||
title=#{income-delete-confirmation.header(${session.entryToDelete.getOrDefault('employerName', '')}, ${session.entryToDelete.getOrDefault('householdMemberJobAdd', '')})} | ||
"> | ||
<!DOCTYPE html> | ||
<html th:lang="${#locale.language}"> | ||
<head th:replace="~{fragments/head :: head(title=${title})}"></head> | ||
<body> | ||
<div class="page-wrapper"> | ||
<div th:replace="~{fragments/toolbar :: toolbar}"></div> | ||
<section class="slab"> | ||
<div class="grid"> | ||
<div th:replace="~{fragments/goBack :: goBackLink}"></div> | ||
<main id="content" role="main" class="form-card spacing-above-35"> | ||
<th:block th:if="${noEntryToDelete != null}"> | ||
<th:block | ||
th:replace="~{'fragments/cardHeader' :: cardHeader(header=#{delete-confirmation-back-redirect.header})}"/> | ||
<b>hello</b> | ||
<div class="form-card__footer" th:with="subflowIsEmpty=${subflowIsEmpty != null}"> | ||
<a class="button button--primary" | ||
th:href="${subflowIsEmpty ? entryScreen : reviewScreen}" | ||
th:text="#{delete-confirmation-back-redirect.button}"></a> | ||
</div> | ||
</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> | ||
</div> | ||
<div class="form-card__footer"> | ||
<th:block th:replace="~{fragments/continueButton :: continue}" /> | ||
|
||
<a class="button button--primary" th:href="'/flow/' + ${flow} + '/incomeReview'" | ||
th:text="#{income-delete-confirmation.no}"></a> | ||
<form method="post" | ||
th:action="'/flow/' + ${flow} + '/' + ${subflow} + '/' + ${param.uuid} + '/delete'"> | ||
<th:block th:replace="~{fragments/inputs/submitButton :: submitButton( | ||
classes='button button--danger', | ||
text=#{income-delete-confirmation.yes})}"/> | ||
</form> | ||
</div> | ||
</th:block> | ||
</th:block> | ||
</main> | ||
</div> | ||
</section> | ||
</div> | ||
<th:block th:replace="fragments/footer :: footer" /> | ||
</body> | ||
</html> | ||
</main> | ||
</div> | ||
</section> | ||
</div> | ||
<th:block th:replace="~{fragments/footer :: footer}"/> | ||
</body> | ||
</html> | ||
</th:block> |