projects
/
demoscenemusic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Manage properties on artist.
[demoscenemusic.git]
/
src
/
main
/
resources
/
templates
/
admin.edit-artist
diff --git
a/src/main/resources/templates/admin.edit-artist
b/src/main/resources/templates/admin.edit-artist
index
23d945e
..
3734264
100644
(file)
--- a/
src/main/resources/templates/admin.edit-artist
+++ b/
src/main/resources/templates/admin.edit-artist
@@
-4,15
+4,26
@@
<form method="post" accept-charset="utf-8">
<form method="post" accept-charset="utf-8">
- <label>Name: <input type="text" name="name" value="<% artist.name|html>"
/
></label>
+ <label>Name: <input type="text" name="name" value="<% artist.name|html>"></label>
<button type="submit">Edit Artist</button>
<%foreach artist.properties property>
<button type="submit">Edit Artist</button>
<%foreach artist.properties property>
- <label>Property: <input type="text" name="property.<%loop.count>" value="<%property.key|html>"/> <input type="text" name="value.<%loop.count>" value="<%property.value|html>"/>
+ <label>
+ Property: <%property.key|html>
+ <input type="text" name="value.<%property.key|html>" value="<%property.value|html>">
+ <input type="checkbox" name="delete.<%property.key|html>">Delete
+ </label>
<%/foreach>
<%/foreach>
+ <label>
+ New Property:
+ <input type="text" name="property" value="">
+ <input type="text" name="value" value="">
+ <button type="submit" name="new-property" value="true">Add Property</button>
+ </label>
+
</form>
<%include include/footer>
\ No newline at end of file
</form>
<%include include/footer>
\ No newline at end of file