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

changeset 82
4ec7f2600c83
parent 80
27a25f32048e
child 83
24a3596b8f98
equal deleted inserted replaced
81:1a2e7b5d48f7 82:4ec7f2600c83
43 <col> 43 <col>
44 <col style="width: 100%"> 44 <col style="width: 100%">
45 </colgroup> 45 </colgroup>
46 <tbody> 46 <tbody>
47 <tr> 47 <tr>
48 <th><fmt:message key="thead.version.project"/></th> 48 <th><fmt:message key="version.project"/></th>
49 <td> 49 <td>
50 <select name="pid" required> 50 <select name="pid" required>
51 <c:forEach var="project" items="${projects}"> 51 <c:forEach var="project" items="${projects}">
52 <option value="${project.id}" <c:if test="${project eq version.project}">selected</c:if> > 52 <option value="${project.id}" <c:if test="${project eq version.project}">selected</c:if> >
53 <c:out value="${project.name}" /> 53 <c:out value="${project.name}" />
55 </c:forEach> 55 </c:forEach>
56 </select> 56 </select>
57 </td> 57 </td>
58 </tr> 58 </tr>
59 <tr> 59 <tr>
60 <th><fmt:message key="thead.version.name"/></th> 60 <th><fmt:message key="version.name"/></th>
61 <td><input name="name" type="text" maxlength="20" required value="<c:out value="${version.name}"/>" /></td> 61 <td><input name="name" type="text" maxlength="20" required value="<c:out value="${version.name}"/>" /></td>
62 </tr> 62 </tr>
63 <tr> 63 <tr>
64 <th><fmt:message key="thead.version.status"/></th> 64 <th><fmt:message key="version.status"/></th>
65 <td> 65 <td>
66 <select name="status" required> 66 <select name="status" required>
67 <c:forEach var="elem" items="${versionStatusEnum}"> 67 <c:forEach var="elem" items="${versionStatusEnum}">
68 <option 68 <option
69 <c:if test="${elem eq version.status}">selected</c:if> value="${elem}"><fmt:message 69 <c:if test="${elem eq version.status}">selected</c:if> value="${elem}"><fmt:message
71 </c:forEach> 71 </c:forEach>
72 </select> 72 </select>
73 </td> 73 </td>
74 </tr> 74 </tr>
75 <tr title="<fmt:message key="tooltip.ordinal" />"> 75 <tr title="<fmt:message key="tooltip.ordinal" />">
76 <th><fmt:message key="thead.version.ordinal"/></th> 76 <th><fmt:message key="version.ordinal"/></th>
77 <td> 77 <td>
78 <input name="ordinal" type="number" min="0" value="${version.ordinal}"/> 78 <input name="ordinal" type="number" min="0" value="${version.ordinal}"/>
79 </td> 79 </td>
80 </tr> 80 </tr>
81 </tbody> 81 </tbody>

mercurial