Application_Form/app/views/email/signup_email.html.erb

9 lines
401 B
Plaintext
Raw Normal View History

<% email_set = ApplicationFormMain.find(@data['application_form_id']).application_form_email_sets.select{|v| v.field_name == 'signup'} %>
2020-01-12 06:39:32 +00:00
<% if email_set.length != 0 %>
<% if !(email_set[0].content.nil?) %>
<%= email_set[0].content[@data['locale']].html_safe %>
<% end %>
<% else %>
2022-03-10 02:11:18 +00:00
<%= t('application_form.email_signup_content') %>
2021-03-29 14:27:08 +00:00
<% end %>
2021-03-31 08:15:12 +00:00
<%= (@data['extra_text'] rescue "").to_s.html_safe %>