aboutsummaryrefslogtreecommitdiff
path: root/tmpl/view
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-04-12 17:28:52 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-04-12 17:28:52 +0200
commit98d80e03ee5b5c1d6941af440ca33a8793cd84dc (patch)
tree2e2b506255b816a90fc118cd3809ccbce20c32fb /tmpl/view
parent2b9f6efe9b4e5112dcfbce67f91a08950d95fbf7 (diff)
Enable delete
Diffstat (limited to 'tmpl/view')
-rw-r--r--tmpl/view3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpl/view b/tmpl/view
index 68a4c4f..c816e34 100644
--- a/tmpl/view
+++ b/tmpl/view
@@ -1,2 +1,5 @@
{{define "title"}}{{.Title}}{{end}}
{{define "content"}}{{.HTML}}{{end}}
+{{define "action"}}
+<a href="/edit/{{.Title}}" title="edit {{.Title}}"><i class="fa fa-pencil"></i></a>
+{{end}}