I am creating a form for an entity that needs to have some fields omitted when creating the entity, compared to when editing it. How do I do this? Should I have one form and omit the fields when building a form for create? Or is there a another way?
e.g.
module.exports = {
view: function(vnode){
// form built here
}
}