.ofn-drop-down
  %span
    %i.icon-check
    {{ 'admin.actions' | t }}
    %i{ 'ng-class' => "expanded && 'icon-caret-up' || !expanded && 'icon-caret-down'" }
  %div.menu{ 'ng-show' => "expanded" }
    %a.menu_item{ 'ng-repeat' => "link in links", href: '{{link.url}}', target: "{{link.target || '_self'}}", data: { method: "{{ link.method || 'get' }}", confirm: "{{link.confirm}}" } }
      %span
        %i{ ng: { class: "link.icon" } }
      %span {{ link.name }}
