projects
/
WoTNS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add page that lets the user edit and delete targets.
[WoTNS.git]
/
src
/
main
/
resources
/
templates
/
manage.html
diff --git
a/src/main/resources/templates/manage.html
b/src/main/resources/templates/manage.html
index
b0b2be6
..
3f50a8c
100644
(file)
--- a/
src/main/resources/templates/manage.html
+++ b/
src/main/resources/templates/manage.html
@@
-5,11
+5,12
@@
<%/first>
<form action="editTarget.html" method="post">
<input type="hidden" name="formPassword" value="<%formPassword|html>"/>
<%/first>
<form action="editTarget.html" method="post">
<input type="hidden" name="formPassword" value="<%formPassword|html>"/>
+ <input type="hidden" name="ownIdentity" value="<%ownIdentity.id|html>"/>
<input type="hidden" name="name" value="<%target.key|html>"/>
<%target.key|html>:
<input type="text" name="target" value="<%target.value|html>"/>
<input type="hidden" name="name" value="<%target.key|html>"/>
<%target.key|html>:
<input type="text" name="target" value="<%target.value|html>"/>
- <button type="submit" name="edit">Save</button>
- <button type="submit" name="delete">Delete</button>
+ <button type="submit" name="edit"
value="true"
>Save</button>
+ <button type="submit" name="delete"
value="true"
>Delete</button>
</form>
<%/foreach>
<h2>Add Target</h2>
</form>
<%/foreach>
<h2>Add Target</h2>