modifed option element formatting
This commit is contained in:
parent
dc08fbea1a
commit
9db002dcdf
1 changed files with 9 additions and 12 deletions
|
@ -61,7 +61,8 @@
|
||||||
<#assign roleLabel = literalValues.roleLabel[0] />
|
<#assign roleLabel = literalValues.roleLabel[0] />
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
|
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
|
||||||
|
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
|
||||||
|
|
||||||
<h2>${titleVerb} ${roleDescriptor} entry for ${editConfiguration.subjectName}</h2>
|
<h2>${titleVerb} ${roleDescriptor} entry for ${editConfiguration.subjectName}</h2>
|
||||||
|
|
||||||
|
@ -86,7 +87,7 @@
|
||||||
|
|
||||||
<form id="add${roleDescriptor?capitalize}RoleToPersonTwoStage" class="customForm noIE67" action="${submitUrl}" role="add/edit grant role">
|
<form id="add${roleDescriptor?capitalize}RoleToPersonTwoStage" class="customForm noIE67" action="${submitUrl}" role="add/edit grant role">
|
||||||
|
|
||||||
<p class="inline"><label for="typeSelector">${roleDescriptor?capitalize} Type <span class='requiredHint'> *</span></label>
|
<p class="inline"><label for="typeSelector">${roleDescriptor?capitalize} Type ${requiredHint}</label>
|
||||||
<select id="typeSelector" name="roleActivityType"
|
<select id="typeSelector" name="roleActivityType"
|
||||||
<#if disabledVal?has_content>
|
<#if disabledVal?has_content>
|
||||||
disabled = "${disabledVal}"
|
disabled = "${disabledVal}"
|
||||||
|
@ -101,11 +102,7 @@
|
||||||
<#assign roleActivityTypeSelect = editConfiguration.pageData.roleActivityType />
|
<#assign roleActivityTypeSelect = editConfiguration.pageData.roleActivityType />
|
||||||
<#assign roleActivityTypeKeys = roleActivityTypeSelect?keys />
|
<#assign roleActivityTypeKeys = roleActivityTypeSelect?keys />
|
||||||
<#list roleActivityTypeKeys as key>
|
<#list roleActivityTypeKeys as key>
|
||||||
<option value="${key}"
|
<option value="${key}"<#if selectedActivityType = key>selected</#if>>${roleActivityTypeSelect[key]}</option>
|
||||||
<#if selectedActivityType = key>selected</#if>
|
|
||||||
>
|
|
||||||
${roleActivityTypeSelect[key]}
|
|
||||||
</option>
|
|
||||||
</#list>
|
</#list>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
@ -114,7 +111,7 @@
|
||||||
|
|
||||||
<div class="fullViewOnly">
|
<div class="fullViewOnly">
|
||||||
<p>
|
<p>
|
||||||
<label for="relatedIndLabel">${roleDescriptor?capitalize} Name <span class='requiredHint'> *</span></label>
|
<label for="relatedIndLabel">${roleDescriptor?capitalize} Name ${requiredHint}</label>
|
||||||
<input class="acSelector" size="50" type="text" id="relatedIndLabel" name="activityLabel" value="${activityLabelValue}"
|
<input class="acSelector" size="50" type="text" id="relatedIndLabel" name="activityLabel" value="${activityLabelValue}"
|
||||||
<#if disabledVal?has_content>
|
<#if disabledVal?has_content>
|
||||||
disabled=${disabledVal}
|
disabled=${disabledVal}
|
||||||
|
@ -141,7 +138,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<#if showRoleLabelField = true>
|
<#if showRoleLabelField = true>
|
||||||
<p><label for="roleLabel">Role in ### <span class='requiredHint'> *</span> ${roleExamples}</label>
|
<p><label for="roleLabel">Role in ### ${requiredHint} ${roleExamples}</label>
|
||||||
<input size="50" type="text" id="roleLabel" name="roleLabel" value="${roleLabel}" />
|
<input size="50" type="text" id="roleLabel" name="roleLabel" value="${roleLabel}" />
|
||||||
</p>
|
</p>
|
||||||
</#if>
|
</#if>
|
||||||
|
@ -149,17 +146,17 @@
|
||||||
<#if numDateFields == 1 >
|
<#if numDateFields == 1 >
|
||||||
<#--Generated html is a map with key name mapping to html string-->
|
<#--Generated html is a map with key name mapping to html string-->
|
||||||
<#if htmlForElements?keys?seq_contains("startField")>
|
<#if htmlForElements?keys?seq_contains("startField")>
|
||||||
<label for="startField">Start Year <span class='hint'>(YYYY)</span></label>
|
<label for="startField">Start Year ${yearHint}</label>
|
||||||
${htmlForElements["startField"]}
|
${htmlForElements["startField"]}
|
||||||
</#if>
|
</#if>
|
||||||
<#else>
|
<#else>
|
||||||
<h4>Years of Participation in ${roleDescriptor?capitalize}</h4>
|
<h4>Years of Participation in ${roleDescriptor?capitalize}</h4>
|
||||||
<#if htmlForElements?keys?seq_contains("startField")>
|
<#if htmlForElements?keys?seq_contains("startField")>
|
||||||
<label for="startField">Start Year <span class='hint'>(YYYY)</span></label>
|
<label for="startField">Start Year ${yearHint}</label>
|
||||||
${htmlForElements["startField"]}
|
${htmlForElements["startField"]}
|
||||||
</#if>
|
</#if>
|
||||||
<#if htmlForElements?keys?seq_contains("endField")>
|
<#if htmlForElements?keys?seq_contains("endField")>
|
||||||
<label for="endField">End Year <span class='hint'>(YYYY)</span></label>
|
<label for="endField">End Year ${yearHint}</label>
|
||||||
${htmlForElements["endField"]}
|
${htmlForElements["endField"]}
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue