NIHVIVO-3840 retain selection when there are validation errors
This commit is contained in:
parent
99fd84769c
commit
087a899365
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
|||
<select name="urlType" style="margin-top:-2px" >
|
||||
<option value="" <#if editMode == "add">selected</#if>>Select one</option>
|
||||
<#list urlTypeOpts?keys as key>
|
||||
<option value="${key}" <#if editMode == "edit" && urlTypeValue == key>selected</#if> >
|
||||
<option value="${key}" <#if urlTypeValue == key>selected</#if> >
|
||||
<#if urlTypeOpts[key] == "F1000 Link">
|
||||
Faculty of 1000 Link
|
||||
<#else>
|
||||
|
@ -63,6 +63,7 @@
|
|||
</option>
|
||||
</#list>
|
||||
</select>
|
||||
urlTypeVAlue = ${urlTypeValue!}
|
||||
<label for="url">URL ${requiredHint}</label>
|
||||
<input size="70" type="text" id="url" name="url" value="${url}" role="input" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue