tooltips for smiles

This commit is contained in:
Andreas N 2015-01-06 17:33:02 +01:00
parent 4b114b0cab
commit 1b4eb15152
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@
No one smiled this, yet.
- else
- a.smiles.all.each do |smile|
%a{href: show_user_profile_path(smile.user.screen_name), data: {smile_id: smile.id}}
%a{href: show_user_profile_path(smile.user.screen_name), title: smile.user.screen_name, data: { toggle: :tooltip, placement: :top, smile_id: smile.id }}
%img.img-rounded.answerbox--img-small{src: gravatar_url(smile.user)}