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

changeset 184
e8eecee6aadf
parent 181
502a10e24b85
child 227
f0ede8046b59
--- a/src/main/webapp/WEB-INF/jsp/component-form.jsp	Sat Jan 23 14:47:59 2021 +0100
+++ b/src/main/webapp/WEB-INF/jsp/component-form.jsp	Fri Apr 02 11:59:14 2021 +0200
@@ -32,7 +32,7 @@
 <c:set var="component" scope="page" value="${viewmodel.component}"/>
 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/>
 
-<form action="./projects/commit-component" method="post">
+<form action="./projects/${project.node}/components/-/commit" method="post">
     <table class="formtable" style="width: 70ch">
         <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