.container
  .row
    .col-md-12.text-center
      %h2 Accommodation Deals
      %p.lead
        We have prepared affordable accommodation deals for your visit.
  - @conference.lodgings.each_slice(3) do |slice|
    .row.row-centered
      - slice.each do |lodging|
        .col-md-4.col-sm-4.ticket.col-centered.col-top
          .thumbnail
            - if lodging.photo.blank?
              %p.text-center
                %i.fa.fa-home.fa-5x
            - else
              -if lodging.website_link.present?
                = link_to(lodging.website_link, class: 'thumbnail') do
                  = image_tag lodging.photo(:large), class: 'img-responsive img-lodging'
              - else
                = image_tag lodging.photo(:large), class: 'img-responsive img-lodging'
            .caption
              %h3.text-center
                = lodging.name
              -if lodging.description.present?
                = markdown(lodging.description)

