2022-03-10 02:11:18 +00:00
|
|
|
<% email_set = ApplicationFormMain.where(id:@data['application_form_id']).first.application_form_email_sets.select{|v| v.field_name == 'edit_file'} %>
|
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_edit_file_content') %>
|
2022-06-14 13:19:52 +00:00
|
|
|
<% end %>
|
|
|
|
<%= (@data['extra_text'] rescue "").to_s.html_safe %>
|