diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-18 23:25:41 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-18 23:25:41 -0700 |
commit | 1b76c6ae8bf65def5d3e0e042cb7087b5f13bca9 (patch) | |
tree | fba5c085e817c63020d0b071b45121357eab0167 /system/admin/handlers.go | |
parent | 3c32a01d540844354c96383c640443e99a5030a7 (diff) |
changing UI for quick-delete-post button
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 790351d..0cac28f 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -437,12 +437,13 @@ func adminPostListItem(p editor.Editable, t string) []byte { <li class="col s12"> <a href="/admin/edit?type=` + t + `&id=` + cid + `">` + p.ContentName() + `</a> <span class="post-detail">Updated: ` + updatedTime + `</span> - <form class="quick-delete-post __ponzu" action="/admin/edit/delete"> + <span class="publish-date right">` + publishTime + `</span> + + <form class="quick-delete-post __ponzu right" action="/admin/edit/delete"> <span>Delete</span> <input type="hidden" name="id" value="` + cid + `" /> <input type="hidden" name="type" value="` + t + `" /> </form> - <span class="right">` + publishTime + `</span> </li>` return []byte(post) |