Skip to content

Commit

Permalink
RA-2060: Enable summary view to display individual question fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mseaton committed Nov 1, 2024
1 parent ab59740 commit b69a256
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion omod/src/main/webapp/fragments/summary/section.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,14 @@
}
// TODO support other types besides personAttribute and personAddress
%>
${ displayValue ? ui.encodeHtmlContent(displayValue).replace("\n", "<br />") : ''}&nbsp;
<% if (config.displayEachField) { %>
<div class="question-field">
<h3>${ui.message(field.label)}</h3>
<p class="left">${ displayValue ? ui.encodeHtmlContent(displayValue).replace("\n", "<br />") : ''}</p>
</div>
<% } else { %>
${ displayValue ? ui.encodeHtmlContent(displayValue).replace("\n", "<br />") : ''}&nbsp;
<% } %>
<% } %>
</p>
</div>
Expand Down

0 comments on commit b69a256

Please sign in to comment.