ref: master
app/views/invite/_contact_list.html.erb
<% friend_pos = 0 %> <% contacts.each do |contact| %> <% friend_pos += 1 %><%= check_box_tag("webmail_import_addresses[]", contact[2], (!@webmail_import_addresses || @webmail_import_addresses.include?(contact[2])), :id => "contacts_to_invite_#{friend_pos}", :class => "contact_to_invite" ) %>
<% end %>