Sha256: 054957e362a4be110a41da0947de65c76676c9a569ce31abdc93fe9ef2b2537a
Contents?: true
Size: 923 Bytes
Versions: 6
Compression:
Stored size: 923 Bytes
Contents
<% @page_title = "#{l :work_accounts}"%> <div id="spotlight"> <div class="btitle"> <%=image_detour_to 'add.png', l(:new_work_account), :action => 'new' %> <h4><%=@page_title%></h4> </div> <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 %> <%=back_or_link_to l(:back), :controller => 'welcome', :action => 'index' %> </div>
Version data entries
6 entries across 6 versions & 1 rubygems