forked from spen/seminar
8 lines
328 B
Plaintext
8 lines
328 B
Plaintext
<% email_set = SeminarMain.where(id:@data['seminar_id']).first.seminar_email_sets.select{|v| v.field_name == 'edit_file'} %>
|
|
<% if email_set.length != 0 %>
|
|
<% if !(email_set[0].content.nil?) %>
|
|
<%= email_set[0].content[@data['locale']].html_safe %>
|
|
<% end %>
|
|
<% else %>
|
|
<%= t('seminar.email_edit_file_content') %>
|
|
<% end %> |