projects
/
demoscenemusic.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 add a derivative.
[demoscenemusic.git]
/
src
/
main
/
resources
/
templates
/
admin.add-artist
diff --git
a/src/main/resources/templates/admin.add-artist
b/src/main/resources/templates/admin.add-artist
index
889edde
..
c3a2a42
100644
(file)
--- a/
src/main/resources/templates/admin.add-artist
+++ b/
src/main/resources/templates/admin.add-artist
@@
-1,12
+1,11
@@
-<%include include/header title=
artist.name
>
+<%include include/header title=
="Add a New Artist"
>
<h1>Add Artist</h1>
<h1>Add Artist</h1>
-<form method="post">
+<%if error|matches value=="no-name-given">
+ <p>You have to specify a name.</p>
+<%/if>
- <label>Name: <input type="text" name="name" value=""/></label>
- <button type="submit">Add Artist</button>
-
-</form>
+<%include include/admin.add-artist>
<%include include/footer>
\ No newline at end of file
<%include include/footer>
\ No newline at end of file