Edit styling in conferences/_lodging
This commit is contained in:
parent
2180e6197c
commit
e546348ccc
1 changed files with 7 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
.col-md-12.text-center
|
.col-md-12.text-center
|
||||||
%h2
|
%h1
|
||||||
Where to stay
|
Where to stay
|
||||||
- if @conference.venue
|
- if @conference.venue
|
||||||
in
|
in
|
||||||
|
|
@ -13,25 +13,25 @@
|
||||||
%p.lead
|
%p.lead
|
||||||
We recommend these affordable lodging accommodations for your visit.
|
We recommend these affordable lodging accommodations for your visit.
|
||||||
|
|
||||||
.row.row-centered{ style:"display: flex; flex-wrap: wrap" }
|
.row.row-centered{ style:'display: flex; flex-wrap: wrap' }
|
||||||
- @conference.lodgings.each do |lodging|
|
- @conference.lodgings.each do |lodging|
|
||||||
.col-md-4.col-sm-4.col-centered.col-top{ style:"display:flex;" }
|
.col-md-4.col-sm-4.col-centered.col-top{ style:'display:flex;' }
|
||||||
.thumbnail
|
.thumbnail
|
||||||
- if lodging.picture?
|
- if lodging.picture?
|
||||||
-if lodging.website_link.present?
|
- if lodging.website_link.present?
|
||||||
= link_to(lodging.website_link, class: 'thumbnail') do
|
= link_to(lodging.website_link, class: 'thumbnail') do
|
||||||
= image_tag lodging.picture.large.url, class: 'img-responsive img-lodging'
|
= image_tag lodging.picture.large.url, class: 'img-responsive img-lodging'
|
||||||
- else
|
- else
|
||||||
= image_tag lodging.picture.large.url, class: 'img-responsive img-lodging'
|
= image_tag lodging.picture.large.url, class: 'img-responsive img-lodging'
|
||||||
- else
|
- else
|
||||||
%p.text-center
|
%p.text-center
|
||||||
-if lodging.website_link.present?
|
- if lodging.website_link.present?
|
||||||
= link_to(lodging.website_link, class: 'thumbnail') do
|
= link_to(lodging.website_link, class: 'thumbnail') do
|
||||||
%i.fa.fa-home.fa-5x
|
%i.fa.fa-home.fa-5x
|
||||||
- else
|
- else
|
||||||
%i.fa.fa-home.fa-5x
|
%i.fa.fa-home.fa-5x
|
||||||
.caption
|
.caption
|
||||||
%h3.text-center
|
%h2.text-center
|
||||||
= lodging.name
|
= 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