30 |
30 |
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.VersionEditView" scope="request" /> |
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.VersionEditView" scope="request" /> |
32 <c:set var="version" scope="page" value="${viewmodel.version}"/> |
32 <c:set var="version" scope="page" value="${viewmodel.version}"/> |
33 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/> |
33 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/> |
34 |
34 |
35 <form action="./projects/commit-version" method="post"> |
35 <form action="./projects/${project.node}/versions/-/commit" method="post"> |
36 <table class="formtable" style="width: 35ch"> |
36 <table class="formtable" style="width: 35ch"> |
37 <colgroup> |
37 <colgroup> |
38 <col> |
38 <col> |
39 <col style="width: 100%"> |
39 <col style="width: 100%"> |
40 </colgroup> |
40 </colgroup> |
41 <tbody> |
41 <tbody> |
42 <tr> |
42 <tr> |
43 <th><fmt:message key="project"/></th> |
43 <th><fmt:message key="project"/></th> |
44 <td> |
44 <td> |
45 <c:out value="${project.name}" /> |
45 <c:out value="${project.name}" /> |
46 <input type="hidden" name="pid" 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><fmt:message key="version"/></th> |
51 <td><input name="name" type="text" maxlength="20" required value="<c:out value="${version.name}"/>" /></td> |
51 <td><input name="name" type="text" maxlength="20" required value="<c:out value="${version.name}"/>" /></td> |