make lodiging name a link, too
This commit is contained in:
parent
2fc88b3555
commit
dbeebe50c1
1 changed files with 4 additions and 1 deletions
|
|
@ -36,6 +36,9 @@
|
||||||
%i.fa.fa-home.fa-5x
|
%i.fa.fa-home.fa-5x
|
||||||
.caption
|
.caption
|
||||||
%h3.text-center
|
%h3.text-center
|
||||||
= lodging.name
|
- if lodging.website_link.present?
|
||||||
|
= link_to(loding.website_link, lodiging.name)
|
||||||
|
- else
|
||||||
|
= lodging.name
|
||||||
- if lodging.description.present?
|
- if lodging.description.present?
|
||||||
= markdown(lodging.description)
|
= markdown(lodging.description)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue