e.exports = {
    oninit: function(vnode) {User.load(vnode.attrs.id)},
    view: function() {
        return m(&quot;form&quot;, {
                onsubmit: function(e) {
                    e.preventDefault()
                    User.save()
                }
            }, [
            m(&quot;label.label&quot;, &quot;First name&quot;),
            m(&quot;input.input[type=text][placeholder=First name]&quot;, {
                oninput: m.withAttr(&quot;value&quot;, function(value) {User.current.firstName 