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