summaryrefslogtreecommitdiff
path: root/src/templates/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/index.php')
-rw-r--r--src/templates/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates/index.php b/src/templates/index.php
index ed84fd4..148a173 100644
--- a/src/templates/index.php
+++ b/src/templates/index.php
@@ -6,6 +6,9 @@
<title>Bookmarks</title>
</head>
<body>
+ <?php if ($message) { ?>
+ <p><?php echo $message; ?></p>
+ <?php } ?>
<a href="/create">Add</a>
<ul>
<?php foreach ($bookmarks as $bookmark) { ?>