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

changeset 72
0646c14e36fb
parent 60
ed51c5b1f3e5
--- a/src/main/webapp/WEB-INF/dynamic_fragments/version-form.jsp	Fri May 22 16:21:31 2020 +0200
+++ b/src/main/webapp/WEB-INF/dynamic_fragments/version-form.jsp	Fri May 22 16:21:59 2020 +0200
@@ -33,7 +33,7 @@
 <c:set scope="page" var="selectedProject" value="${sessionScope[ProjectsModule.SESSION_ATTR_SELECTED_PROJECT]}"/>
 
 <jsp:useBean id="version" type="de.uapcore.lightpit.entities.Version" scope="request"/>
-<jsp:useBean id="versionStatusEnum" type="de.uapcore.lightpit.entities.VersionStatus[]" scope="request" />
+<jsp:useBean id="versionStatusEnum" type="de.uapcore.lightpit.entities.VersionStatus[]" scope="request"/>
 
 <form action="./${moduleInfo.modulePath}/versions/commit" method="post">
     <table class="formtable" style="width: 35ch">
@@ -44,14 +44,16 @@
         <tbody>
         <tr>
             <th><fmt:message key="thead.version.name"/></th>
-            <td><input name="name" type="text" maxlength="20" required value="${version.name}" /> </td>
+            <td><input name="name" type="text" maxlength="20" required value="${version.name}"/></td>
         </tr>
         <tr>
             <th><fmt:message key="thead.version.status"/></th>
             <td>
                 <select name="status" required>
                     <c:forEach var="elem" items="${versionStatusEnum}">
-                        <option <c:if test="${elem eq version.status}">selected</c:if> 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>
@@ -59,16 +61,17 @@
         <tr title="<fmt:message key="tooltip.ordinal" />">
             <th><fmt:message key="thead.version.ordinal"/></th>
             <td>
-                <input name="ordinal" type="number" min="0" value="${version.ordinal}" />
+                <input name="ordinal" type="number" min="0" value="${version.ordinal}"/>
             </td>
         </tr>
         </tbody>
         <tfoot>
         <tr>
             <td colspan="2">
-                <input type="hidden" name="id" value="${version.id}" />
-                <a href="./${moduleInfo.modulePath}/versions/" class="button"><fmt:message bundle="${lightpit_bundle}" key="button.cancel"/></a>
-                <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay" /></button>
+                <input type="hidden" name="id" value="${version.id}"/>
+                <a href="./${moduleInfo.modulePath}/versions/" class="button"><fmt:message bundle="${lightpit_bundle}"
+                                                                                           key="button.cancel"/></a>
+                <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button>
             </td>
         </tr>
         </tfoot>

mercurial