<%first>
<ul>
<%/first>
- <li><%artist.name|html> <a href="admin.edit-artist?id=<%artist.id|html>">edit</a></li>
+ <li><%include include/admin.artist></li>
<%last>
</ul>
<%/last>
<%foreach track.artists artist>
- <div>Artist: <a href="admin.edit-artist?id=<%artist.id|html>"><%artist.name|html></a></div>
+ <div>Artist: <%include include/admin.artist></div>
<form action="admin.edit-track" method="post" accept-charset="utf-8">
<input type="hidden" name="id" value="<%track.id|html>"/>
<%foreach artists artist>
<%first><ul><%/first>
- <li><% artist.name|html><%foreach artist.groups group><%first> / <%/first><%notfirst> ^ <%/notfirst><a href="group?id=<%group.id|html>"><%group.name|html></a><%/foreach> <a href="admin.edit-artist?id=<% artist.id|html>">edit</a></li>
+ <li><%include include/admin.artist></li>
<%last></ul><%/last>
<%/foreach>
--- /dev/null
+<a href="admin.edit-artist?id=<%artist.id|html>"><% artist.name|html></a><%foreach artist.groups group|sort><%first> / <%/first><%notfirst> ^ <%/notfirst><a href="admin.edit-group?id=<%group.id|html>"><%group.name|html></a><%/foreach>
\ No newline at end of file