Mercurial Hosting > luan
diff examples/blog/src/index.html.luan @ 1387:bc40bc9aab3a
start postgres backup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 02 Sep 2019 22:23:12 -0600 |
parents | 4c2972f4d862 |
children | ad5647031343 |
line wrap: on
line diff
--- a/examples/blog/src/index.html.luan Thu Aug 22 12:32:20 2019 -0600 +++ b/examples/blog/src/index.html.luan Mon Sep 02 22:23:12 2019 -0600 @@ -39,7 +39,11 @@ %> <a name="p<%= post.id %>"> <h2><%= post.subject %></h2> - <p><%= Time.format(post.date) %> - <a href="edit.html?post=<%= post.id %>">Edit</a></p> + <p> + <%= Time.format(post.date) %> + - <a href="edit.html?post=<%= post.id %>">Edit</a> + - <a href="delete?post=<%= post.id %>">Delete</a> + </p> <pre><%= bbcode_to_html(html_encode(post.content)) %></pre> <hr> <%