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