% 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']) %> <% if email_set.length != 0 %> <% if !(email_set[0].content.nil?) %> <%= email_set[0].content[@data['locale']].html_safe %> <% end %> <% else %> <%= t('application_form.email_add_file_content') %> <% end %>