Add include to render a complete artist.
[demoscenemusic.git] / src / main / resources / templates / admin.artists
index 5dfa578..40aea01 100644 (file)
@@ -1,13 +1,15 @@
-<%include include/header title=artist.name>
+<%include include/header title=="Manage Artist">
 
 <h1>Manage <% artist.name|html></h1>
 
 <%foreach artists artist>
        <%first><ul><%/first>
-       <li><% artist.name|html> <a href="">edit</a> <a href="">delete</a></li>
+       <li><% artist.name|html> <a href="admin.edit-artist?id=<% artist.id|html>">edit</a></li>
        <%last></ul><%/last>
 <%/foreach>
 
-<a href="admin.add-artist">add new artist</a>
+<h2>Add a New Artist</h2>
+
+<%include include/admin.add-artist>
 
 <%include include/footer>
\ No newline at end of file