aboutsummaryrefslogtreecommitdiff
path: root/tmpl/edit
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/edit
parent2b9f6efe9b4e5112dcfbce67f91a08950d95fbf7 (diff)
Enable delete
Diffstat (limited to 'tmpl/edit')
-rw-r--r--tmpl/edit3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpl/edit b/tmpl/edit
index 2034f47..f4c5f2c 100644
--- a/tmpl/edit
+++ b/tmpl/edit
@@ -7,3 +7,6 @@
<input type="reset" value="Reset">
</form>
{{end}}
+{{define "action"}}
+<a href="/del/{{.Title}}" title="delete {{.Title}}"><i class="fa fa-trash"></i></a>
+{{end}}