From e546348cccf7c780151af765b1c562983d148ff6 Mon Sep 17 00:00:00 2001 From: Stavy Date: Sat, 16 Dec 2017 16:03:29 +0200 Subject: [PATCH] Edit styling in conferences/_lodging --- app/views/conferences/_lodging.html.haml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/conferences/_lodging.html.haml b/app/views/conferences/_lodging.html.haml index 561e2421..70bea7f1 100644 --- a/app/views/conferences/_lodging.html.haml +++ b/app/views/conferences/_lodging.html.haml @@ -5,7 +5,7 @@ .container .row .col-md-12.text-center - %h2 + %h1 Where to stay - if @conference.venue in @@ -13,25 +13,25 @@ %p.lead 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| - .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 - if lodging.picture? - -if lodging.website_link.present? + - if lodging.website_link.present? = link_to(lodging.website_link, class: 'thumbnail') do = image_tag lodging.picture.large.url, class: 'img-responsive img-lodging' - else = image_tag lodging.picture.large.url, class: 'img-responsive img-lodging' - else %p.text-center - -if lodging.website_link.present? + - if lodging.website_link.present? = link_to(lodging.website_link, class: 'thumbnail') do %i.fa.fa-home.fa-5x - else %i.fa.fa-home.fa-5x .caption - %h3.text-center + %h2.text-center = lodging.name - -if lodging.description.present? + - if lodging.description.present? = markdown(lodging.description)