NIHVIVO-1392 Fix verbose property form for individuals in non-default namespace
This commit is contained in:
parent
813712c78c
commit
b559e36228
2 changed files with 22 additions and 17 deletions
|
@ -8,16 +8,15 @@
|
|||
|
||||
<#if verbosePropertyForm??>
|
||||
<#assign formId = "verbosePropertyForm">
|
||||
<form id="${formId}" action="${verbosePropertyForm.action}#${formId}" method="get">
|
||||
<input type="hidden" name="verbose" value="${verbosePropertyForm.verboseFieldValue}" />
|
||||
|
||||
<span>Verbose property display is <b>${verbosePropertyForm.currentValue}</b> | </span>
|
||||
|
||||
<input type="submit" id="submit" class="small" value="Turn ${verbosePropertyForm.newValue}" />
|
||||
<#assign currentValue = verbosePropertyForm.currentValue?string("on", "off")>
|
||||
<#assign newValue = verbosePropertyForm.currentValue?string("off", "on")>
|
||||
<form id="${formId}" action="${verbosePropertyForm.action}#${formId}" method="${verbosePropertyForm.method}">
|
||||
<input type="hidden" name="verbose" value="${verbosePropertyForm.newValue}" />
|
||||
<span>Verbose property display is <b>${currentValue}</b> | </span>
|
||||
<input type="submit" id="submit" class="small" value="Turn ${newValue}" />
|
||||
</form>
|
||||
</#if>
|
||||
</form>
|
||||
|
||||
|
||||
<p class="uri-link">Resource URI: <a href="${individual.uri}" target="_blank">${individual.uri}</a></p>
|
||||
</section>
|
||||
</#if>
|
Loading…
Add table
Add a link
Reference in a new issue