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