Listing contactgroups

<% for column in Contactgroup.content_columns %> <% end %> <% for contactgroup in @contactgroups %> <% for column in Contactgroup.content_columns %> <% end %> <% end %>
<%= column.human_name %>
<%=h contactgroup.send(column.name) %><%= link_to 'Send EMail', :action => 'send_email_to_contacts_from_group', :id => contactgroup %> <%= link_to 'Show', :action => 'show', :id => contactgroup %> <%= link_to 'Edit', :action => 'edit', :id => contactgroup %> <%= link_to 'Destroy', { :action => 'destroy', :id => contactgroup }, :confirm => 'Are you sure?', :method => :post %>
<%= link_to 'New contactgroup', :action => 'new' %>