% resource_handler.attributes.each do |attribute| %> <% if not @resource.send(attribute[:name]).blank? %>