Sha256: 6562eea37bf2e668ad652c3286993071ce8e83c919bc5162017ffe9a1e2e35e4
Contents?: true
Size: 558 Bytes
Versions: 14
Compression:
Stored size: 558 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)) = link_to('Reject', reject_approval_path(approval))
Version data entries
14 entries across 7 versions & 1 rubygems