Sha256: aa60f48b57eef3ed85f9fb0a190114b10ceffa01012c3fdd0eabb46e72588448
Contents?: true
Size: 792 Bytes
Versions: 14
Compression:
Stored size: 792 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), :class => 'approve') %> <%%= link_to('Reject', reject_approval_path(approval), :class => 'reject') %> </td> </tr> <%% end %> </tbody> </table>
Version data entries
14 entries across 7 versions & 2 rubygems