osem-fcy/app/views/conference/_tracks.html.haml

10 lines
276 B
Text
Raw Normal View History

2014-06-17 17:28:48 +05:30
%div.row.text-center
%div.col-md-12
%h2 Tracks
- @conference.tracks.each do |t|
2014-06-17 17:28:48 +05:30
%div{ class: (@conference.tracks.count.to_i <= 2 ? "col-md-#{12/@conference.tracks.count.to_i}" : "col-md-4") }
%h4
= t.name
%p
2014-06-17 17:28:48 +05:30
= t.description