src/main/webapp/WEB-INF/dynamic_fragments/version-form.jsp

changeset 60
ed51c5b1f3e5
parent 59
c759c60507a2
child 72
0646c14e36fb
--- a/src/main/webapp/WEB-INF/dynamic_fragments/version-form.jsp	Sun May 17 16:23:39 2020 +0200
+++ b/src/main/webapp/WEB-INF/dynamic_fragments/version-form.jsp	Sun May 17 16:28:13 2020 +0200
@@ -51,7 +51,7 @@
             <td>
                 <select name="status" required>
                     <c:forEach var="elem" items="${versionStatusEnum}">
-                        <option value="${elem}"><fmt:message key="version.status.${elem}" /> </option>
+                        <option <c:if test="${elem eq version.status}">selected</c:if> value="${elem}"><fmt:message key="version.status.${elem}" /> </option>
                     </c:forEach>
                 </select>
             </td>

mercurial