Sha256: b112b79b78fff2ca94c2b196ac1cfbe883963d09eb509465e39fb0bdde32df28
Contents?: true
Size: 599 Bytes
Versions: 14
Compression:
Stored size: 599 Bytes
Contents
%table %thead %tr %th Type %th Record <% if owner? %> %th Owner <% end %> %th State %th %tbody - @approvals.each do |approval| %tr %td= approval.item_type.classify %td= approval.item.try(:to_s) || approval.item.id <% if owner? %> %td= render :partial => 'owner_select', :locals => {:approval => approval} <% end %> %td= approval.state %td.actions = link_to('Approve', approve_approval_path(approval), :class => 'approve') = link_to('Reject', reject_approval_path(approval), :class => 'reject')
Version data entries
14 entries across 7 versions & 2 rubygems