aboutsummaryrefslogtreecommitdiffstats
path: root/templates/post_actions.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-12 12:43:03 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-12 12:43:03 +0100
commita77f6e9d27f98bc36d0911ce58c109f4a18bd835 (patch)
treed88d91a956e8107871d3bc8e1b8bf994579b90d3 /templates/post_actions.html
parent35112f2357d6510a889c8e20604b11a2c0acf342 (diff)
downloadrocket-blog-a77f6e9d27f98bc36d0911ce58c109f4a18bd835.tar.gz
rocket-blog-a77f6e9d27f98bc36d0911ce58c109f4a18bd835.tar.bz2
rocket-blog-a77f6e9d27f98bc36d0911ce58c109f4a18bd835.zip
Move post actions to partial.
Diffstat (limited to 'templates/post_actions.html')
-rw-r--r--templates/post_actions.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/post_actions.html b/templates/post_actions.html
new file mode 100644
index 0000000..acc47d5
--- /dev/null
+++ b/templates/post_actions.html
@@ -0,0 +1,5 @@
+<div class="post-actions">
+ <a href="/posts/{{ .id }}/edit">Edit</a> |
+ Publish |
+ <a href="/posts/{{ .id }}/delete">Delete</a>
+</div>