NIHVIVO-3250: Added aria roles and added last quote to href attribute for cancel link

This commit is contained in:
manolobevia 2011-10-27 19:53:36 +00:00
parent cabc944481
commit c76c29be90

View file

@ -2,7 +2,7 @@
<#assign actionText = "Add new" />
<#if editConfiguration.dataPropertyStatement?has_content>
<#assign actionText = "Edit"/>
<#assign actionText = "Edit"/>
</#if>
<#assign submitLabel>${actionText} label</#assign>
@ -11,19 +11,17 @@
<#assign literalValues = "${editConfiguration.dataLiteralValuesAsString}" />
<form class="editForm" action = "${submitUrl}" method="post">
<input type="text" name="label" id="label" size="30" value="${literalValues}"}/>
<input type="hidden" name="editKey" id="editKey" value="${editKey}" />
<input type="hidden" name="vitroNsProp" value="true"/>
<p class="submit">
<input type="submit" id="submit" value="${submitLabel}"/>
or <a href="${cancelUrl} class="cancel">Cancel</a>
</p>
<input type="text" name="label" id="label" size="30" value="${literalValues}"} role="input"/>
<input type="hidden" name="editKey" id="editKey" value="${editKey}" role="input"/>
<input type="hidden" name="vitroNsProp" value="true" role="input"/>
<p class="submit">
<input type="submit" id="submit" value="${submitLabel}" role="input"/>
or <a href="${cancelUrl}" class="cancel">Cancel</a>
</p>
</form>
<#--The original jsp included a delete form for deleting rdfs label.
If required, deletion can be supported but it does not appear that is required currently.
-->
-->