fix error
This commit is contained in:
parent
c73a3ce9a8
commit
1b88e86364
|
@ -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_') %>
|
||||||
|
|
Loading…
Reference in New Issue