Listing groups

<% for group in @groups %> <% end %>
Name Created Founder Options
<%= link_to (h group.name), group %> <%= h group.created_at.strftime("%d %B %y") %> <%= link_to (h group.founder.username), group.founder %> <%= link_to 'Edit', edit_group_path(group) %> <%= link_to 'Destroy', group, :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New group', new_group_path %>