Skip to content

Commit

Permalink
nested mailing address under if statement because mailing address key…
Browse files Browse the repository at this point in the history
…s wont always be sest
  • Loading branch information
Ana Medrano Fernandez authored and Ana Medrano Fernandez committed Jan 11, 2024
1 parent b5f323b commit 3425479
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
</div>
<hr class="spacing-below-35 spacing-above-35">
<b th:text="#{review-contact-info.mailing-address}"></b>
<div class="spacing-above-15">
<p class="spacing-below-5" th:text="${fieldData.homeAddressStreetAddress1}"></p>
<p class="spacing-below-5" th:text="${fieldData.homeAddressStreetAddress2}"></p>
</div>
<div class="spacing-above-15" th:if="${fieldData.containsKey('mailingAddressStreetAddress1')}">
<p class="spacing-below-5" th:text="${fieldData.mailingAddressStreetAddress1}"></p>
<p class="spacing-below-5" th:text="${fieldData.mailingAddressStreetAddress2}"></p>
<p class="spacing-below-5"
th:text="${fieldData.homeAddressCity} + ', ' + ${fieldData.homeAddressState}"></p>
<p th:text="${fieldData.homeAddressZipCode}"></p>
th:text="${fieldData.mailingAddressCity} + ', ' + ${fieldData.mailingAddressState}"></p>
<p th:text="${fieldData.mailingAddressZipCode}"></p>
</div>
<hr class="spacing-below-35 spacing-above-35">
<b th:text="#{review-contact-info.contact-information}"></b>
Expand Down

0 comments on commit 3425479

Please sign in to comment.