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