Retrospring/app/views/shared/_smiles.html.haml

10 lines
333 B
Plaintext
Raw Normal View History

2014-12-14 06:41:08 -08:00
.media.smiles
2014-12-14 06:22:37 -08:00
.pull-left
%i.fa.fa-smile-o
.media-body
- if a.smiles.all.count == 0
No one smiled this, yet.
- else
- a.smiles.all.each do |smile|
%a{href: show_user_profile_path(smile.user), data: {smile_id: smile.id}}
%img.img-rounded.answerbox--img-small{src: gravatar_url(smile.user)}