Closed tananrules closed 9 years ago
I am a newbie to ember. I'm using ember-cli and my actions are defined in routes. I am unable to understan what to pass in model pram of em-form, and my controller nothing defined.
my template is :
<div class="container"> {{#em-form form_layout="horizontal" model=model.session action="loginUser"}} {{em-input label="Email" property="email"}} {{em-input label="Password" property="password"}} {{/em-form}} <div> <p>{{email}}</p><br> <p>{{password}}</p> </div> </div>
any jsfiddle working example would be appreciated
thanks in advance
This should work, please see the new guidelines, if you'r having a bad time please provide a jsbin and I'll try to fix, feel free to reopen
I am a newbie to ember. I'm using ember-cli and my actions are defined in routes. I am unable to understan what to pass in model pram of em-form, and my controller nothing defined.
my template is :
any jsfiddle working example would be appreciated
thanks in advance