minor template cleanup; set showRoleLabel to true

This commit is contained in:
tworrall 2011-11-15 21:41:52 +00:00
parent c8078c05f4
commit 86c363e3c2
5 changed files with 8 additions and 8 deletions

View file

@ -21,6 +21,7 @@ roleExamples-->
<#assign roleDescriptor = "presentation" />
<#assign typeSelectorLabel = "presentation type" />
<#assign buttonText = "Presentation Role" />
<#assign roleExamples = "(e.g., Moderator, Speaker, Panelist)" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -20,7 +20,7 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "teaching activity" />
<#assign typeSelectorLabel = "teaching activity type" />
<#assign roleExamples = "(e.g., Instructor, Facilitator, Assistant)" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -63,3 +63,4 @@
</section>
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/customForm.css" />')}

View file

@ -68,9 +68,7 @@ public class AddServiceProviderRoleToPersonGenerator extends AddRoleToPersonTwoS
literalOptions.put("http://vivoweb.org/ontology/core#University", "University");
return literalOptions;
}
@Override
boolean isShowRoleLabelField() { return false; }
boolean isShowRoleLabelField(){return true;}
}

View file

@ -43,6 +43,6 @@ public class AddTeacherRoleToPersonGenerator extends AddRoleToPersonTwoStageGene
}
@Override
boolean isShowRoleLabelField() { return false; }
boolean isShowRoleLabelField(){return true;}
}