<% // Required vars // - type, one of style/source // - cwd, absolute path from which to begin browsing %> <% print(this.modalbrowser({ id: 'browse' + obj.type, cwd: obj.cwd, label: 'Open', hint: 'Letters and numbers only', placeholder: type + ' name', pattern: '[\\w+\\d+\\s\\.-]+' })); %>