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

changeset 225
87328572e36f
parent 184
e8eecee6aadf
child 335
1eed60b779da
equal deleted inserted replaced
224:da975b1f188d 225:87328572e36f
45 <c:out value="${project.name}" /> 45 <c:out value="${project.name}" />
46 <input type="hidden" name="projectid" value="${project.id}" /> 46 <input type="hidden" name="projectid" value="${project.id}" />
47 </td> 47 </td>
48 </tr> 48 </tr>
49 <tr> 49 <tr>
50 <th><fmt:message key="version"/></th> 50 <th><label for="version-name"><fmt:message key="version"/></label></th>
51 <td><input name="name" type="text" maxlength="20" required value="<c:out value="${version.name}"/>" /></td> 51 <td><input id="version-name" name="name" type="text" maxlength="20" required value="<c:out value="${version.name}"/>" /></td>
52 </tr> 52 </tr>
53 <tr title="<fmt:message key="node.tooltip"/>"> 53 <tr title="<fmt:message key="node.tooltip"/>">
54 <th><fmt:message key="node"/></th> 54 <th><label for="version-node"><fmt:message key="node"/></label></th>
55 <td><input name="node" type="text" maxlength="20" value="<c:out value="${version.node}"/>" /></td> 55 <td><input id="version-node" name="node" type="text" maxlength="20" value="<c:out value="${version.node}"/>" /></td>
56 </tr> 56 </tr>
57 <tr> 57 <tr>
58 <th><fmt:message key="version.status"/></th> 58 <th><label for="version-status"><fmt:message key="version.status"/></label></th>
59 <td> 59 <td>
60 <select name="status" required> 60 <select id="version-status" name="status" required>
61 <c:forEach var="elem" items="${viewmodel.versionStatus}"> 61 <c:forEach var="elem" items="${viewmodel.versionStatus}">
62 <option 62 <option
63 <c:if test="${elem eq version.status}">selected</c:if> value="${elem}"><fmt:message 63 <c:if test="${elem eq version.status}">selected</c:if> value="${elem}"><fmt:message
64 key="version.status.${elem}"/></option> 64 key="version.status.${elem}"/></option>
65 </c:forEach> 65 </c:forEach>
66 </select> 66 </select>
67 </td> 67 </td>
68 </tr> 68 </tr>
69 <tr title="<fmt:message key="ordinal.tooltip" />"> 69 <tr title="<fmt:message key="ordinal.tooltip" />">
70 <th><fmt:message key="ordinal"/></th> 70 <th><label for="version-ordinal"><fmt:message key="ordinal"/></label></th>
71 <td> 71 <td>
72 <input name="ordinal" type="number" value="${version.ordinal}"/> 72 <input id="version-ordinal" name="ordinal" type="number" value="${version.ordinal}"/>
73 </td>
74 </tr>
75 <tr>
76 <th><label for="version-release"><fmt:message key="version.release"/></label></th>
77 <td>
78 <input id="version-release" name="release" type="date" value="<fmt:formatDate value="${version.release}" pattern="YYYY-MM-dd" />"/>
79 </td>
80 </tr>
81 <tr>
82 <th><label for="version-eol"><fmt:message key="version.eol"/></label></th>
83 <td>
84 <input id="version-eol" name="eol" type="date" value="<fmt:formatDate value="${version.eol}" pattern="YYYY-MM-dd" />"/>
73 </td> 85 </td>
74 </tr> 86 </tr>
75 </tbody> 87 </tbody>
76 <tfoot> 88 <tfoot>
77 <tr> 89 <tr>

mercurial