summaryrefslogtreecommitdiff
path: root/src/templates/index.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-10-11 21:49:47 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-10-11 21:49:47 +0100
commit523a84dd4b7cb611955e949fd6debc4a3c037b91 (patch)
tree3ca2999adda1cf3e180390538d91f45f696fe175 /src/templates/index.php
parent0f273c0a8ead390346571c4be2296fa6e384eff6 (diff)
Implement very basic editing
Diffstat (limited to 'src/templates/index.php')
-rw-r--r--src/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/index.php b/src/templates/index.php
index 9656551..2703851 100644
--- a/src/templates/index.php
+++ b/src/templates/index.php
@@ -8,7 +8,7 @@
<body>
<ul>
<?php foreach ($bookmarks as $bookmark) { ?>
- <li><?php echo "[$bookmark->id] $bookmark->url"; ?></li>
+ <li><a href="/edit?id=<?php echo $bookmark->id; ?>"><?php echo $bookmark->title; ?></a></li>
<?php } ?>
</ul>
</body>