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