Sha256: b29a0f66b01f034a7d046dff7c622ccdaa6d5714e694f80b233574093df4f9d0
Contents?: true
Size: 726 Bytes
Versions: 17
Compression:
Stored size: 726 Bytes
Contents
<h1>Listing work_accounts</h1> <table> <tr> <% for column in WorkAccount.content_columns %> <th><%= column.human_name %></th> <% end %> </tr> <% for work_account in @work_accounts %> <tr> <% for column in WorkAccount.content_columns %> <td><%=h work_account.send(column.name) %></td> <% end %> <td><%= link_to 'Show', :action => 'show', :id => work_account %></td> <td><%= link_to 'Edit', :action => 'edit', :id => work_account %></td> <td><%= link_to 'Destroy', { :action => 'destroy', :id => work_account }, :confirm => 'Are you sure?', :method => :post %></td> </tr> <% end %> </table> <%=will_paginate @work_accounts %> <br /> <%= link_to 'New work_account', :action => 'new' %>
Version data entries
17 entries across 17 versions & 1 rubygems