aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
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/root
parent2b9f6efe9b4e5112dcfbce67f91a08950d95fbf7 (diff)
Enable delete
Diffstat (limited to 'tmpl/root')
-rw-r--r--tmpl/root5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmpl/root b/tmpl/root
index 093ad19..c357ad1 100644
--- a/tmpl/root
+++ b/tmpl/root
@@ -10,10 +10,7 @@
<body>
<nav>
<span>{{template "title" .}}</span>
- {{with .Title -}}
- <a href="/edit/{{.}}" title="edit {{.}}"><i class="fa fa-pencil"></i></a>
- <!--a href="/del/{{.}}" title="delete {{.}}"><i class="fa fa-trash"></i></a-->
- {{- end}}
+ {{template "action" .}}
<a href="/" title="home"><i class="fa fa-home"></i></a>
<a href="/index" title="index"><i class="fa fa-list"></i></a>
</nav>