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

changeset 131
67df332e3146
parent 128
947d0f6a6a83
child 134
f47e82cd6077
--- a/src/main/webapp/WEB-INF/jsp/version-form.jsp	Thu Oct 15 18:36:05 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/version-form.jsp	Thu Oct 15 20:02:30 2020 +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/versions/commit" method="post">
+<form action="./projects/commit-version" method="post">
     <table class="formtable" style="width: 35ch">
         <colgroup>
             <col>
@@ -73,7 +73,7 @@
         <tr>
             <td colspan="2">
                 <input type="hidden" name="id" value="${version.id}"/>
-                <a href="./projects/versions?pid=${project.id}" class="button">
+                <a href="./projects/${project.id}/versions/" class="button">
                     <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/>
                 </a>
                 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button>

mercurial