diff src/main/webapp/pages/branchPage.jsp @ 31:c8d367a4bbcd

new: user updates label in branch
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 24 Sep 2015 13:35:39 +0200
parents 3b3e2963c8f7
children 2e1662afc81c
line wrap: on
line diff
--- a/src/main/webapp/pages/branchPage.jsp	Fri Sep 11 15:54:01 2015 +0200
+++ b/src/main/webapp/pages/branchPage.jsp	Thu Sep 24 13:35:39 2015 +0200
@@ -113,7 +113,18 @@
 									</tr>
 									<tr>
 										<td><label>Label</label></td>
-										<td><label><%=sessionBean.getBranchPage().getBranch().getLabel() %></label></td>
+										<td>
+											<form name="branchForm"
+												action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
+												method="post">
+												<input name="bean" type="hidden" value="branchBean" />
+												<input type="text" name="branchLabel" value="<%=sessionBean.getBranchPage().getBranch().getLabel() %>" />
+												<input type="image" alt="edit label" onclick="setAction('updateLabel', 'branchForm');" 
+													src="<%=sessionBean.getApplicationBean().getSaveImage()%>" width="15" height="15"/>	
+											
+											</form>
+											
+										</td>
 									</tr>
 									
 									<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%% -->