1 <%include include/header title=="Edit Artist">
5 <form method="post" accept-charset="utf-8">
7 <label>Name: <input type="text" name="name" value="<% artist.name|html>"></label>
8 <button type="submit">Edit Artist</button>
10 <%foreach artist.properties property>
13 Property: <%property.key|html>
14 <input type="text" name="value.<%property.key|html>" value="<%property.value|html>">
15 <input type="checkbox" name="delete.<%property.key|html>">Delete
22 <input type="text" name="property" value="">
23 <input type="text" name="value" value="">
24 <button type="submit" name="new-property" value="true">Add Property</button>
31 <%foreach artist.groups group|sort>
33 <form action="admin.edit-artist" method="post" accept-charset="utf-8">
35 <input type="hidden" name="id" value="<%artist.id|html>"/>
36 <input type="hidden" name="group" value="<%group.id|html>"/>
39 <%group.name|html> <a href="admin.edit-group?id=<%group.id|html>">edit</a>
41 <button type="submit" name="delete-group" value="true">Delete Group</button>
46 <p>This artists does not belong to any groups.</p>
51 <form action="admin.edit-artist" method="post" accept-charset="utf-8">
53 <input type="hidden" name="id" value="<%artist.id|html>"/>
58 <%foreach dataManager.allGroups group|sort>
59 <option value="<%group.id|html>"><%group.name|html></option>
63 <button type="submit" name="add-group" value="true">Add Group</button>
69 <%foreach artist.tracks track>
73 <li><%track.name|html> <a href="admin.edit-track?id=<%track.id|html>">edit</a></li>
78 <p>This artist does not yet have any tracks.</p>
81 <h2>Add a New Track</h2>
83 <%include include/admin.add-track>
85 <%include include/footer>