% if result.blank? and @result.present? then result = @result end %> <% result_text = result.result_text %> <% comments = result.comments %> <% timestamp = result.created_at %> <% name = result.name %>