fix error

This commit is contained in:
chiu 2020-05-20 17:56:34 +08:00
parent c73a3ce9a8
commit 1b88e86364
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
<%= property[k].collect{|k,v| v}.uniq.join('/') rescue nil %> <%= property[k].collect{|k,v| v}.uniq.join('/') rescue nil %>
<% elsif k=='owners' %> <% elsif k=='owners' %>
<%= property.owner_profiles.collect{|v| v.name}.join(', ') %> <%= property.owner_profiles.collect{|v| v.name}.join(', ') %>
<% elsif k == 'category' %> <% elsif ['category','property_location'].include?(k) %>
<%= v.title %> <%= v.title %>
<% elsif k == 'can_be_hired' %> <% elsif k == 'can_be_hired' %>
<%= v ? t('yes_') : t('no_') %> <%= v ? t('yes_') : t('no_') %>