diff options
Diffstat (limited to 'src/templates/edit.php')
| -rw-r--r-- | src/templates/edit.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/templates/edit.php b/src/templates/edit.php index a3c6930..d5f5a08 100644 --- a/src/templates/edit.php +++ b/src/templates/edit.php @@ -6,12 +6,13 @@ <title>Bookmarks</title> </head> <body> - <form action="/edit" method="POST"> + <a href="/">Back</a> + <form action="/update" method="POST"> <input type="hidden" name="id" value="<?php echo $bookmark->id; ?>"/> <input type="text" name="url" maxlength="512" autofocus value="<?php echo $bookmark->url; ?>"><br> <input type="text" name="title" maxlength="256" value="<?php echo $bookmark->title; ?>"><br> <input type="text" name="tag" maxlength="8" value="<?php echo $bookmark->tag; ?>"><br> - <button type="submit">Update</button> + <button type="submit">Update</button> </form> </body> </html> |
