<%%= 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), :class => 'approve') %>
<%%= link_to('Reject', reject_approval_path(approval), :class => 'reject') %>
|
<%% end %>