Skip to content
Snippets Groups Projects
Commit 4189ca83 authored by Cliff Li's avatar Cliff Li Committed by scmoritz
Browse files

Remove superfluous bracket in login.js

parent ddd995e0
No related branches found
No related tags found
1 merge request!27Cleanup
......@@ -17,18 +17,17 @@ module.exports = {
.catch((err) => { this.error = err.message; });
},
},
m('h3', 'Login'), [
m('p', this.error),
m('input.input[type=text][placeholder=Username]', {
oninput: m.withAttr('value', (value) => { this.username = value; }),
value: this.username,
}),
m('input.input[placeholder=Password][type=password]', {
oninput: m.withAttr('value', (value) => { this.password = value; }),
value: this.password,
}),
m('button.button[type=submit]', 'Login'),
],
m('h3', 'Login'),
m('p', this.error),
m('input.input[type=text][placeholder=Username]', {
oninput: m.withAttr('value', (value) => { this.username = value; }),
value: this.username,
}),
m('input.input[placeholder=Password][type=password]', {
oninput: m.withAttr('value', (value) => { this.password = value; }),
value: this.password,
}),
m('button.button[type=submit]', 'Login'),
),
]);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment