-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsend_screener_results.text.erb
More file actions
41 lines (26 loc) · 2 KB
/
send_screener_results.text.erb
File metadata and controls
41 lines (26 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<%= t('views.screener_mailer.send_screener_results.greeting', first_name: @screener.first_name, last_name: @screener.last_name) %>
<%= t('views.screener_mailer.send_screener_results.attachment_notice') %>
---
<%= t('views.screener_mailer.send_screener_results.next_step_heading') %>
<%= t('views.screener_mailer.send_screener_results.next_step_instructions') %>
<%= t('views.screener_mailer.send_screener_results.reference_code', code: @screener.confirmation_code) %>
---
<% state = @screener.state %>
<% county = @screener.county %>
<% website = LocationData::Counties.website_for(state, county) %>
<% email = LocationData::Counties.email_for(state, county) %>
<%= t('views.screener_mailer.send_screener_results.how_to_submit_heading') %>
1. <%= t('views.screener_mailer.send_screener_results.online_label') %> <%= t('views.screener_mailer.send_screener_results.online_epass_text') %>
<%= t('views.screener_mailer.send_screener_results.online_county', website: website) %><%= " #{t('views.screener_mailer.send_screener_results.online_county_with_email', email: email)}" if email.present? %>.
2. <%= t('views.screener_mailer.send_screener_results.mail_label') %> <%= t('views.screener_mailer.send_screener_results.mail_instructions') %>
<%= LocationData::Counties.mailing_address_for(state, county).split("\n").join("\n ") %>
3. <%= t('views.screener_mailer.send_screener_results.in_person_label') %> <%= t('views.screener_mailer.send_screener_results.in_person_instructions') %>
<%= LocationData::Counties.physical_address_for(state, county).split("\n").join("\n ") %>
<%= t('views.screener_mailer.send_screener_results.questions_intro') %>
- <%= t('views.screener_mailer.send_screener_results.check_website', website: website) %>
<% if email.present? %>
- <%= t('views.screener_mailer.send_screener_results.email_office', email: email) %>
<% end %>
<% if (phone = LocationData::Counties.phone_for(state, county)).present? %>
- <%= t('views.screener_mailer.send_screener_results.call_office', phone: phone) %>
<% end %>