<% if (choices.length) { %> <% var gridViewTogglerId = _.uniqueId('dropdown-') %>
<% iconClass = _.filter(choices, function(choice) {return choice.icon !== false}).length ? ' has-icons' : '' %>
<% } %> <% if (showActions) { %> <% var gridViewActionsTogglerId = _.uniqueId('dropdown-') %>
<% if (dirty) { %> - <%- editedLabel %> <% } %>
<% } %>