NIHVIVO-3247: Added aria roles, closed input tags, done some formatting, added css, and removed css inline styles
This commit is contained in:
parent
3f266924b4
commit
9dcdd35e0d
1 changed files with 13 additions and 16 deletions
|
@ -4,27 +4,24 @@
|
|||
"${editConfiguration.propertyPublicDomainTitle}" entry for ${editConfiguration.subjectName}
|
||||
</#assign>
|
||||
<#if editConfiguration.objectUri?has_content>
|
||||
<#assign formTitle>Edit ${formTitle} </#assign>
|
||||
<#assign submitLabel>Save changes</#assign>
|
||||
<#assign formTitle>Edit ${formTitle} </#assign>
|
||||
<#assign submitLabel>Save changes</#assign>
|
||||
<#else>
|
||||
<#assign formTitle>Create ${formTitle} </#assign>
|
||||
<#assign submitLabel>Create "${editConfiguration.propertyPublicDomainTitle}" entry</#assign>
|
||||
<#assign formTitle>Create ${formTitle} </#assign>
|
||||
<#assign submitLabel>Create "${editConfiguration.propertyPublicDomainTitle}" entry</#assign>
|
||||
</#if>
|
||||
|
||||
|
||||
<h2>${formTitle}</h2>
|
||||
|
||||
<form class="editForm" action = "${submitUrl}">
|
||||
<input type="hidden" name="editKey" id="editKey" value="${editKey}" />
|
||||
<input type="text" name="name" id="name" label="name (required)" size="30"/>
|
||||
<br/>
|
||||
|
||||
<div style="margin-top: 0.2em">
|
||||
<input type="submit" id="submit" value="${submitLabel}"
|
||||
<span class="or"> or </span>
|
||||
<a title="Cancel" href="${editConfiguration.cancelUrl}">Cancel</a>
|
||||
</div>
|
||||
|
||||
<form class="editForm" action="${submitUrl}">
|
||||
<input type="hidden" name="editKey" id="editKey" value="${editKey}" role="input"/>
|
||||
<input type="text" name="name" id="name" label="name (required)" size="30" role="input"/>
|
||||
|
||||
<p class="submit">
|
||||
<input type="submit" id="submit" value="${submitLabel}">
|
||||
<span class="or"> or </span>
|
||||
<a title="Cancel" href="${editConfiguration.cancelUrl}">Cancel</a>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue