From b69a256dcdc9ac5d435d5188be3f8943d1e31647 Mon Sep 17 00:00:00 2001 From: Michael Seaton Date: Fri, 1 Nov 2024 13:05:10 -0400 Subject: [PATCH] RA-2060: Enable summary view to display individual question fields --- omod/src/main/webapp/fragments/summary/section.gsp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/omod/src/main/webapp/fragments/summary/section.gsp b/omod/src/main/webapp/fragments/summary/section.gsp index bb8ef1d5..c9998928 100644 --- a/omod/src/main/webapp/fragments/summary/section.gsp +++ b/omod/src/main/webapp/fragments/summary/section.gsp @@ -95,7 +95,14 @@ } // TODO support other types besides personAttribute and personAddress %> - ${ displayValue ? ui.encodeHtmlContent(displayValue).replace("\n", "
") : ''}  + <% if (config.displayEachField) { %> +
+

${ui.message(field.label)}

+

${ displayValue ? ui.encodeHtmlContent(displayValue).replace("\n", "
") : ''}

+
+ <% } else { %> + ${ displayValue ? ui.encodeHtmlContent(displayValue).replace("\n", "
") : ''}  + <% } %> <% } %>