Keynote Speakers implemented
This commit is contained in:
parent
1106f4e227
commit
67ea900dc3
4 changed files with 22 additions and 1 deletions
11
app/views/conference/_keynote_speakers.html.haml
Normal file
11
app/views/conference/_keynote_speakers.html.haml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue