Keynote Speakers implemented

This commit is contained in:
Gopesh Tulsyan 2014-09-15 19:02:02 +05:30
parent 1106f4e227
commit 67ea900dc3
4 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,11 @@
%div.row.text-center
%div.col-md-12
%h3 Keynote Speakers
- @keynote_speakers.each do |k|
%div{ class: (@keynote_speakers.count.to_i <= 2 ? "col-md-#{12/@keynote_speakers.count.to_i}" : "col-md-4") }
= image_tag(k.gravatar_url(size: '80'), class: 'img-circle') unless k.gravatar_url.blank?
%h4
= k.name
-unless k.biography.blank?
%p
= k.biography