BikeBikeBike/app/views/conferences/_preview.html.haml
2014-07-06 19:02:23 -06:00

5 lines
302 B
Plaintext

= link_to ('/conferences/' + conference.conference_type.slug + '/' + conference.slug) do
%h5
= conference.title
%figure.conference-preview.preview-tile{:style => (conference.cover? ? ('background-image: url(' + conference.cover.preview.url + ')') : nil)}
= image_tag conference.poster.preview.url