Updates for personHasEducationalTraining to disable the drop-down/label for editing existing value

This commit is contained in:
hjkhjk54 2011-11-16 20:04:49 +00:00
parent 8ac7dfc813
commit 714bfc196f

View file

@ -70,7 +70,7 @@
<p class="inline"> <p class="inline">
<label for="orgType">Organization Type ${requiredHint}</label> <label for="orgType">Organization Type ${requiredHint}</label>
<#assign orgTypeOpts = editConfiguration.pageData.orgType /> <#assign orgTypeOpts = editConfiguration.pageData.orgType />
<select id="typeSelector" name="orgType" > <select id="typeSelector" name="orgType" <#if (disabledVal!?length > 0)>disabled="${disabledVal}"</#if>>
<option value="" selected="selected">Select one</option> <option value="" selected="selected">Select one</option>
<#list orgTypeOpts?keys as key> <#list orgTypeOpts?keys as key>
<#if orgTypeValue = key> <#if orgTypeValue = key>
@ -84,7 +84,7 @@
<p> <p>
<label for="relatedIndLabel">### Name ${requiredHint}</label> <label for="relatedIndLabel">### Name ${requiredHint}</label>
<input class="acSelector" size="50" type="text" id="relatedIndLabel" name="orgLabel" value="${orgLabelValue}" /> <input class="acSelector" size="50" type="text" id="relatedIndLabel" name="orgLabel" value="${orgLabelValue}" <#if (disabledVal!?length > 0)>disabled="${disabledVal}"</#if>/>
</p> </p>
<#--Store values in hidden fields--> <#--Store values in hidden fields-->