osem-fcy/app/views/conferences/_booths.html.haml

27 lines
1 KiB
Text
Raw Normal View History

2017-11-21 09:54:27 -08:00
- cache [@conference.confirmed_booths, '#splash#booths'] do
%section#booths
.container
.row
.col-md-12.text-center
%h2 Booths
.row.row-centered
- @conference.confirmed_booths.each do |booth|
.col-md-4.col-sm-4.col-centered.col-top
.thumbnail.text-center
- if booth.picture?
= link_to booth.website_url,
class: 'thumbnail', target: '_blank' do
= image_tag booth.picture.large.url, alt: booth.title,
class: 'img-rounded'
.caption
%h3.text-center
- if booth.logo_link
= link_to booth.title, booth.website_url, target: '_blank'
-else
2017-11-21 09:54:27 -08:00
= booth.title
= link_to '', "#booth-detail-#{booth.id}",
data: {toggle: 'collapse'}, class: 'caret',
title: 'more info'
.collapse{ id: "booth-detail-#{booth.id}" }
= markdown(booth.description)