mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-17 03:48:15 +00:00
Adds a component for login form
This commit is contained in:
parent
e0902e1bb3
commit
a17fcc9675
18
wherehows-web/app/components/login-form.js
Normal file
18
wherehows-web/app/components/login-form.js
Normal file
@ -0,0 +1,18 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
const {
|
||||
Component
|
||||
} = Ember;
|
||||
|
||||
export default Component.extend({
|
||||
classNames: ['nacho-login-form'],
|
||||
actions: {
|
||||
/**
|
||||
* Handle the login for submission
|
||||
*/
|
||||
userDidSubmit() {
|
||||
// Trigger action on parent controller
|
||||
this.get('onSubmit')();
|
||||
}
|
||||
}
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user