fix error
This commit is contained in:
parent
69e269cf59
commit
c9f424b30d
|
@ -31,9 +31,9 @@
|
|||
<% elsif ['property_usage','note'].include?(k) %>
|
||||
<%= property[k].collect{|k,v| v}.uniq.join('/') rescue nil %>
|
||||
<% elsif k=='owners' %>
|
||||
<%= property.owner_profiles.collect{|v| v.name}.join(', ') %>
|
||||
<%= property.owner_profiles.collect{|v| v.name}.join(', ') rescue nil %>
|
||||
<% elsif ['category','property_location'].include?(k) %>
|
||||
<%= v.title %>
|
||||
<%= v.title rescue nil %>
|
||||
<% elsif k == 'can_be_hired' %>
|
||||
<%= v ? t('yes_') : t('no_') %>
|
||||
<% else %>
|
||||
|
|
Loading…
Reference in New Issue