NIHVIVO-3840 retain selection when there are validation errors

This commit is contained in:
tworrall 2012-06-27 14:26:56 +00:00
parent 99fd84769c
commit 087a899365

View file

@ -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" />