8 lines
361 B
Plaintext
8 lines
361 B
Plaintext
|
<% email_set = VenueManagementMain.where(id:@data['venue_management_id']).first.venue_management_email_sets.select{|v| v.field_name == 'add_file'} %>
|
||
|
<% if email_set.length != 0 %>
|
||
|
<% if !(email_set[0].content.nil?) %>
|
||
|
<%= email_set[0].content[@data['locale']].html_safe %>
|
||
|
<% end %>
|
||
|
<% else %>
|
||
|
<%= t('venue_management.email_add_file_content') %>
|
||
|
<% end %>
|