% report = false unless defined?(report) %> <% readonly = false unless defined?(readonly) %> <% edit_mode = (comment.user == current_user && !readonly) %>