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