Lodging Links add

This commit is contained in:
Harry30897 2018-01-04 23:26:36 +05:30
parent 8442eb813f
commit 83bdcc969c

View file

@ -12,7 +12,11 @@
.thumbnail
- unless lodging.picture?
%p.text-center
%i.fa.fa-home.fa-5x
- if lodging.website_link.present?
= link_to(lodging.website_link, :style => 'color:inherit') do
%i.fa.fa-home.fa-5x
- else
%i.fa.fa-home.fa-5x
- else
- if lodging.website_link.present?
= link_to(lodging.website_link, class: 'thumbnail') do