From 4ab63d07f3003c3a3053fe2f1bacdd6fa68deba1 Mon Sep 17 00:00:00 2001 From: bdc34 Date: Mon, 29 Nov 2010 19:16:47 +0000 Subject: [PATCH] In personHasEducationalTraining.ftl, disabling an experimental FM based custom form. NIHVIVO-1404 --- .../forms/personHasEducationalTraining.jsp | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/productMods/edit/forms/personHasEducationalTraining.jsp b/productMods/edit/forms/personHasEducationalTraining.jsp index a3ff6612..445f5ff4 100644 --- a/productMods/edit/forms/personHasEducationalTraining.jsp +++ b/productMods/edit/forms/personHasEducationalTraining.jsp @@ -354,7 +354,22 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision) %> - +<% + if (objectUri != null) { // editing existing entry +%> + + + + + +<% + } else { // adding new entry +%> + + + + +<% } List customJs = new ArrayList(Arrays.asList(JavaScript.JQUERY_UI.path(), JavaScript.CUSTOM_FORM_UTILS.path(), @@ -369,14 +384,16 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision) request.setAttribute("customCss", customCss); %> - +<%-- +This goes to an experimental FM based form: + +--%> + + - <%-- - - - + @@ -426,4 +443,4 @@ var customFormData = { }; ---%> +