<% if owner? %> <% end %> <%% @approvals.each do |approval| %> <% if owner? %> <% end %> <%% end %>
Type RecordOwnerState  
<%%= approval.item_type.classify %> <%%= approval.item.try(:to_s) || approval.item.id %><%%= render :partial => 'owner_select', :locals => {:approval => approval} %><%%= approval.state %> <%%= link_to('Approve', approve_approval_path(approval)) %> <%%= link_to('Reject', reject_approval_path(approval)) %>