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

changeset 184
e8eecee6aadf
parent 181
502a10e24b85
child 225
87328572e36f
--- a/src/main/webapp/WEB-INF/jsp/version-form.jsp	Sat Jan 23 14:47:59 2021 +0100
+++ b/src/main/webapp/WEB-INF/jsp/version-form.jsp	Fri Apr 02 11:59:14 2021 +0200
@@ -32,7 +32,7 @@
 <c:set var="version" scope="page" value="${viewmodel.version}"/>
 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/>
 
-<form action="./projects/commit-version" method="post">
+<form action="./projects/${project.node}/versions/-/commit" method="post">
     <table class="formtable" style="width: 35ch">
         <colgroup>
             <col>
@@ -43,7 +43,7 @@
             <th><fmt:message key="project"/></th>
             <td>
                 <c:out value="${project.name}" />
-                <input type="hidden" name="pid" value="${project.id}" />
+                <input type="hidden" name="projectid" value="${project.id}" />
             </td>
         </tr>
         <tr>

mercurial