| <%= column_name %> | <% end %>
|---|
| <%=h @totals[column_name] %> | <% end %>
| <%= column.human_name %> | <% end %> <% authorized?(:action => 'edit'){ %>Edit | <% } %> <% authorized?(:action => 'destroy'){ %>Destroy | <% } %>
|---|---|---|
| <%=h chip_transaction.send(column.name) %> | <% end %> <% authorized?(:action => 'edit'){ %><%= link_to 'Edit', :action => 'edit', :id => chip_transaction %> | <% } %> <% authorized?(:action => 'edit'){ %><%= link_to 'Destroy', { :action => 'destroy', :id => chip_transaction }, :confirm => 'Are you sure?' %> | <% } %>