aboutsummaryrefslogtreecommitdiff
path: root/src/templates/submit_song_new.html
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-08-02 17:33:25 -0400
committerBen Burwell <ben@benburwell.com>2015-08-02 17:33:25 -0400
commit17470146704846137bf09723d403a5650208ba28 (patch)
tree798fb7c7f10282be06f85814e20ba062a9d6f635 /src/templates/submit_song_new.html
parent3788738f88b3aed5ced113aa4c455a0d25d8b84e (diff)
parent3d0f989cee9d7c426c759588539dd06c14fa70ea (diff)
Merge pull request #2 from benburwell/mvp
Minimum Viable Product
Diffstat (limited to 'src/templates/submit_song_new.html')
-rw-r--r--src/templates/submit_song_new.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/templates/submit_song_new.html b/src/templates/submit_song_new.html
new file mode 100644
index 0000000..29d7529
--- /dev/null
+++ b/src/templates/submit_song_new.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Submit a new song</title>
+ </head>
+ <body>
+ <h1>Submit a new song</h1>
+ <p>Tell us about the song (all fields required):</p>
+ <form action="/submit_song" method="post">
+ <table>
+ <tr>
+ <td>Title:</td>
+ <td><input type="text" name="title" value="{{title}}"></td>
+ </tr>
+ <tr>
+ <td>Artist:</td>
+ <td><input type="text" name="artist" value="{{artist}}"></td>
+ </tr>
+ <tr>
+ <td>Phrase:</td>
+ <td><input type="text" name="phrase" value="{{phrase}}"></td>
+ </tr>
+ <tr>
+ <td colspan="2"><input type="submit" value="Win at life"></td>
+ </tr>
+ </table>
+ </form>
+ </body>
+</html>