8 lines
320 B
Plaintext
8 lines
320 B
Plaintext
<% email_set = Property.where(id: @data['property_id']).first.hire_email_sets.select{|v| v.field_name == 'edit'} %>
|
|
<% if email_set.length != 0 %>
|
|
<% if !(email_set[0].content.nil?) %>
|
|
<%= email_set[0].content[@data['locale']].html_safe %>
|
|
<% end %>
|
|
<% else %>
|
|
<%= t('property_hire.email_edit_success') %>
|
|
<% end %> |