From c06dd5c5873f7d2c96946dd2414687e8b0eb71f3 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 16 Aug 2022 22:04:57 -0600 Subject: [PATCH] make button vs link usage consistent --- srv/src/http/tpl/edit-post.html | 9 ++++++--- srv/src/http/tpl/posts.html | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/srv/src/http/tpl/edit-post.html b/srv/src/http/tpl/edit-post.html index 45e8f84..9376f2e 100644 --- a/srv/src/http/tpl/edit-post.html +++ b/srv/src/http/tpl/edit-post.html @@ -104,12 +104,15 @@ {{ end }} - - -

+ +

+ + Back to Posts + +

{{ end }} {{ template "base.html" . }} diff --git a/srv/src/http/tpl/posts.html b/srv/src/http/tpl/posts.html index b908b08..d8f52a6 100644 --- a/srv/src/http/tpl/posts.html +++ b/srv/src/http/tpl/posts.html @@ -2,7 +2,7 @@

- + New Post

@@ -20,7 +20,7 @@ {{ .Title }} - + Edit