Skip to content
Browse files

Update form to match api

  • Loading branch information...
1 parent c852c15 commit 3db3408830dd4720afdc870aeb24e7da48462edf @harryf committed Jun 25, 2008
Showing with 12 additions and 1 deletion.
  1. +12 −1 templates/addurl.html
View
13 templates/addurl.html
@@ -1,13 +1,24 @@
<h1>Submit a URL</h1>
<form action="/" method="POST">
<label for="uri">uri:</label><input name="uri" type="text"><br>
-<label for="status">status:</label><input name="status" type="text"><br>
+<label for="status">status:</label>
+<select name="status">
+ <option>200</option>
+ <option>404</option>
+ <option>301</option>
+</select><br>
+<label for="uri">location:</label><input name="location" type="text"><br>
<label for="tags">tags:</label><input name="tags" type="text"><br>
<label for="pairs">pairs:</label><input name="pairs" type="text"><br>
<label for="reduceurl">reduceurl:</label>
<select name="reduceurl">
<option>true</option>
<option>false</option>
</select><br>
+<label for="delete">delete:</label>
+<select name="delete">
+ <option>false</option>
+ <option>true</option>
+</select><br>
<input type="submit" value="submit">
</form>

0 comments on commit 3db3408

Please sign in to comment.
Something went wrong with that request. Please try again.