% resource_handler.attributes.each do |attribute| %>
<% if not @resource.send(attribute[:name]).blank? %>
<%= @resource.class.human_attribute_name(attribute[:name].to_sym) %>
<%= render_attribute(@resource, attribute, truncate: 10000000) %>
<% end %>
<% end %>