<%=_("There were errors with the following communities: ")%>
<% @failed.each do |error, communities|%>
<%= error %>:
<% communities.each do |community| %>
- <%= community %>
<% end %>
<% end %>
<% end %>
<% form_tag do%>
<%= hidden_field_tag :back_to, @back_to %>
<% @groups.each do |group| %>
<%= labelled_check_box group.name, "marked_groups[#{group.id}][group_id]", group.id, @marked_groups.include?(group) %>