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

19 lines
717 B
Plaintext
Raw Normal View History

<style>
hr.dashed_style{
border-style: dashed;
}
</style>
<% email_set = ApplicationFormMain.find(@data['application_form_id']).application_form_email_sets.select{|v| v.field_name == 'add_file'}
signup = ApplicationFormSignup.find(@data['signup_id'])
%>
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_add_file_content') %>
<% end %>
<hr class="dashed_style">
<%= t('application_form.denied_stage')%> <%= t("application_form.num.#{signup.process_stage}") + t('application_form.stage_review') %>
<hr class="dashed_style">
<%= (@data['extra_text'] rescue "").to_s.html_safe %>