Well,
SailJS\'s default templateing engine is EJS (Embedded Javascript)
But I cannot seem to find the place where we can create ou
One way to accomplish this is through middleware. Something like:
module.exports.routes = {
'*': function mixinForm(req, res, next) {
// <%= form() %>
res.locals.form = function () {
return '';
};
next();
},
}
I would also suggest making a feature request for a more integrated approach at: https://trello.com/b/cGzNVE0b/sails-js-feature-requests.