app/views/open_conference_ware/speaker_mailer/speaker_email.text.erb
<%
text = @body_text
text = text.gsub(/%PROPOSAL_URL%/i, proposal_login_url(@proposal, host: OpenConferenceWare.mailer_host))
text = text.gsub(/%SPEAKER_CONFIRM_URL%/i, speaker_confirm_url(@proposal, host: OpenConferenceWare.mailer_host))
text = text.gsub(/%SPEAKER_DECLINE_URL%/i, speaker_decline_url(@proposal, host: OpenConferenceWare.mailer_host))
text = text.gsub(/%SPEAKER_NAMES%/i, @proposal.user_titles.join(', '))
text = text.gsub(/%PROPOSAL_TITLE%/i, @proposal.title)
text = text.gsub(/%TRACK%/i, @proposal.track_title)
text = text.gsub(/%AUDIENCE_LEVEL%/i, @proposal.audience_level_label)
text = text.gsub(/%FORMAT%/i, @proposal.session_type_title.downcase)
time = @proposal.start_time.nil? ? 'Unscheduled' : @proposal.start_time.strftime("%I:%M %p on %A, %B %d")
text = text.gsub(/%START_TIME%/i, time)
%>
<%= text %>