<%- if @people.many? -%>
Hi <%= @people.map(&:name).select(&:present?).to_sentence(:two_words_connector => "or", :last_word_connector => "or") %>

You all share the same email address, so we're not quite sure which <%= RacingAssociation.current.name %> password to reset.
<%- @people.each_with_index do |person, index| -%>
<%- if person.name.present? -%>
<%= person.name %>'s login is: <%= person.login -%>
<%- else -%>
Login: <%= person.login -%>
<%- end -%>
To reset their <%= RacingAssociation.current.name %> password, click here:
<%= @edit_password_reset_urls[index] -%>
<%- end -%>
<%- else -%>
Hi <%= @people.first.name %>,

Your login is: <%= @people.first.login %>

To reset your <%= RacingAssociation.current.name %> password, click here:
<%= @edit_password_reset_urls.first %>
<%- end -%>
If the link does not work, try copying and pasting it into your browser.
And if that doesn't work, please contact <%= mail_to RacingAssociation.current.email %>.

If you did not request your password reset, please ignore this email.

<%- if @people.many? -%>
Hi <%= @people.map(&:name).select(&:present?).to_sentence(:two_words_connector => " or ", :last_word_connector => " or ") %>

You share the same email address, so we're not quite sure which <%= RacingAssociation.current.name %> password to reset.

<%- @people.each_with_index do |person, index| -%>
<%- if person.name.present? -%>
<%= person.name %>'s login is: <%= person.login %>
<%- else -%>
Login: <%= person.login %>
<%- end -%>
To reset their <%= RacingAssociation.current.name %> password, click here:
<%= @edit_password_reset_urls[index] %>

<%- end -%>
<%- else -%>
Hi <%= @people.first.name %>,

Your login is: <%= @people.first.login %>

To reset your <%= RacingAssociation.current.name %> password, click here:
<%= @edit_password_reset_urls.first %>

<%- end -%>
If the link does not work, try copying and pasting it into your browser.
And if that doesn't work, please contact <%= RacingAssociation.current.email %>.

If you did not request your password reset, please ignore this email.

Add sensible line breaks to password reset email
Add sensible line breaks to password reset email
