Sha256: b978427e8a884e58b51d57e422aa061e00e2ee297b37bef7244c8068f78f3635
Contents?: true
Size: 924 Bytes
Versions: 16
Compression:
Stored size: 924 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> <%= link_to 'Previous page', { :page => @work_account_pages.current.previous } if @work_account_pages.current.previous %> <%= link_to 'Next page', { :page => @work_account_pages.current.next } if @work_account_pages.current.next %> <br /> <%= link_to 'New work_account', :action => 'new' %>
Version data entries
16 entries across 16 versions & 1 rubygems