indexiatech / ember-forms

Smart, Intuitive forms for Ember.js styled with Bootstrap, Multi layouts and Validation support.
http://indexiatech.github.io/ember-forms
Apache License 2.0
218 stars 45 forks source link

Invalid Code in Custom Submit Example #56

Closed mutewinter closed 9 years ago

mutewinter commented 9 years ago

In the custom submit example, the new button needs an action or should be within the form.

Current

        {{#em-form model=model submit_button=false}}
        {{/em-form}}
        <div class="form-actions">
            <input {{bind-attr disabled=isntValid}} type="submit" class="btn btn-primary" value="Login">
        </div>

Fixed

        {{#em-form model=model submit_button=false}}
        <div class="form-actions">
            <input {{bind-attr disabled=isntValid}} type="submit" class="btn btn-primary" value="Login">
        </div>
        {{/em-form}}
asaf commented 9 years ago

Fixed, Thanks.