blob: 785cad241c44b11d313af38d3e48aa2d4928c062 (
plain)
1
2
3
4
5
6
7
|
.thresholds
.btn-group
- counts.sort.each do |c|
- if [params[:reactions].to_i, 1].max == c
%button.btn.btn-default.active{type: "button"}= "#{c} acts"
- else
= link_to "#{c} acts", params.merge(reactions: c), class: "btn btn-default"
|