<% obj.attributesTemplate = function(attributes) {
    _.each(attributes, function(attribute, name) { %>
        <%- name %><% if (!_.isNull(attribute)) { %>="<%- attribute %>"<% } %>
    <% });
} %>

<%
    actionClassNames = [];
    actionClassNames.push('action');
    if (className) {
        actionClassNames.push(className);
    }
    if (launcherMode == 'icon-only') {
        actionClassNames.push('btn-icon');
    }
    if (!enabled) {
        actionClassNames.push('disabled');
    }
    if (launcherMo