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

10 lines
293 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-25 18:08:43 +05:30
%div.tracks{ class: (@conference.tracks.count.to_i <= 2 ? "col-md-#{12/@conference.tracks.count.to_i}" : "col-md-4") }
2014-06-17 17:28:48 +05:30
%h4
= t.name
%p
= markdown(t.description)