From 7c51a7daa8e7648a1f630f23b9ad4fca23b1505e Mon Sep 17 00:00:00 2001 From: Toks Date: Mon, 22 Apr 2013 21:55:56 -0400 Subject: [PATCH] more consistent forum post deletion confirmation --- app/views/forum_posts/_forum_post.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/forum_posts/_forum_post.html.erb b/app/views/forum_posts/_forum_post.html.erb index 48c018cf2..b69540699 100644 --- a/app/views/forum_posts/_forum_post.html.erb +++ b/app/views/forum_posts/_forum_post.html.erb @@ -27,7 +27,7 @@ <% if forum_post.is_deleted %>
  • <%= link_to "Undelete", undelete_forum_post_path(forum_post.id), :method => :post, :remote => true %>
  • <% else %> -
  • <%= link_to "Delete", forum_post_path(forum_post.id), :confirm => "Do you really want to delete this post?", :method => :delete, :remote => true %>
  • +
  • <%= link_to "Delete", forum_post_path(forum_post.id), :confirm => "Are you sure you want to delete this forum post?", :method => :delete, :remote => true %>
  • <% end %> <% end %> <% if forum_post.editable_by?(CurrentUser.user) %>