_stat_anchor_list_item.html.haml 222 Bytes
Newer Older
1
2
3
4
5
6
7
%li
  - if anchor[:link]
    = link_to anchor[:link], class: anchor[:enabled] ? 'stat-link' : "btn btn-#{anchor[:class_modifier] || 'missing'}" do
      = anchor[:label]
  - else
    %span.stat-text
      = anchor[:label]