- resource.attributes.each do |attribute, value| tr td= resource_class.han(attribute) td= pretty_data value