From 6bdc8b6b3a0387c56011c276c139b88b1f894b25 Mon Sep 17 00:00:00 2001
From: tworrall
Date: Mon, 14 Nov 2011 18:42:19 +0000
Subject: [PATCH] now displaying correct name in heading and selected
organization type in labels; added statements to source in correct js files
---
.../forms/personHasEducationalTraining.ftl | 58 ++++++++++---------
1 file changed, 32 insertions(+), 26 deletions(-)
diff --git a/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl b/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl
index 9f97adda..2572f1f0 100644
--- a/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl
+++ b/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl
@@ -6,9 +6,7 @@
<#import "lib-vivo-form.ftl" as lvf>
-<#assign subjectName="Fake name hardcoded in FTL"/>
-<#assign requiredHint="*"/>
-<#assign yearHint="Do it his year!!!"/>
+<#assign subjectName=""/>
<#assign roleActivityUri="mysteryRoleActivityURI"/>
<#assign orgLabel="mysteryOrgLabel"/>
@@ -18,7 +16,7 @@
<#assign editMode = "add">
#if>
-<#if editMode == "edit">
+<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Edit Educational Training">
<#assign disabledVal="disabled">
@@ -39,7 +37,7 @@
<#else>
-->
-${titleVerb} educational training entry for ${subjectName}
+${titleVerb} educational training entry for ${subjectName}${editConfiguration.subjectName}
<#--
<#if errorTypeFieldIsEmpty??>
@@ -63,23 +61,24 @@
@@ -142,20 +141,27 @@
-<#assign acUrl="/autocomplete?tokenize=true&stem=true" >
-<#--
--->
+${stylesheets.add('')}
+${stylesheets.add('')}
+${stylesheets.add('')}
+
+
+${scripts.add('',
+ '',
+ '',
+ '',
+ '')}