venue_management/app/views/email/signup_email.html.erb

8 lines
357 B
Plaintext
Raw Permalink Normal View History

2020-05-07 15:26:34 +00:00
<% email_set = VenueManagementMain.where(id:@data['venue_management_id']).first.venue_management_email_sets.select{|v| v.field_name == 'signup'} %>
<% 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_signup_content') %>
<% end %>