Skip to content

Commit

Permalink
better admin index
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Jan 6, 2018
1 parent 8c0e6ca commit 8db638b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/posts/admin_index.moon
Expand Up @@ -26,7 +26,7 @@ class PostIndex extends Widget
td Posts.types\to_name post.type
td post.updated_at
td post.created_at
td ->
td -> div class: "buttons", ->
a class: "button", href: @url_for("posts_view", slug: post.slug), "View"
a class: "button", href: @url_for("posts_edit", id: post.id), "Edit"
a class: "button", href: @url_for("posts_delete", id: post.id), onclick: "return confirm('Are you sure you want to delete this post?');", "Delete"
Expand Down

0 comments on commit 8db638b

Please sign in to comment.