turn the sidebar into a set of widgets
[shapado:shapado.git] / app / views / widgets / _question_badges.html.haml
1 - if @question.badges.size > 0
2   .block
3     %h3
4       = t('badges', :scope => "activerecord.models")
5     .content
6       %ul.list
7         -@question.badges.each do |badge|
8           %li
9             = render :partial => "badges/badge", :object => badge, :locals => {:hide_user => false}