diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-10-12 20:41:49 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-10-12 20:41:49 +0100 |
| commit | 2ab5661583d74b03c86bb4f437616bb634d9c4fc (patch) | |
| tree | 2e09a8386148e8994def741f5fffdd733d297e38 /src/templates/index.php | |
| parent | 523a84dd4b7cb611955e949fd6debc4a3c037b91 (diff) | |
Add delete
Diffstat (limited to 'src/templates/index.php')
| -rw-r--r-- | src/templates/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/index.php b/src/templates/index.php index 2703851..1298985 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -8,7 +8,7 @@ <body> <ul> <?php foreach ($bookmarks as $bookmark) { ?> - <li><a href="/edit?id=<?php echo $bookmark->id; ?>"><?php echo $bookmark->title; ?></a></li> + <li><a href="/edit?id=<?php echo $bookmark->id; ?>"><?php echo $bookmark->title; ?></a> | <a href="/delete?id=<?php echo $bookmark->id; ?>">Delete</a></li> <?php } ?> </ul> </body> |
