<%= ts("Comment Actions") %>
<% if params[:delete_comment_id] && params[:delete_comment_id] == comment.id.to_s %>
<%= render 'comments/confirm_delete', :comment => comment %> <% else %> <% if can_reply_to_comment?(comment) %> <% # This is where the reply-to box will be added when "Reply" is hit, if the user has JavaScript. %> <% # If not, we will render the comment form if this is the comment we are replying to. %> <% if focused_on_comment(comment) %>
"> <%= render 'comments/comment_form', :comment => Comment.new, :commentable => comment, :button_name => ts("Comment") %> <% else %> <% end %>