Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbandura committed Sep 5, 2016
1 parent 4bc3932 commit d8e8dc4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions tests/dummy/app/templates/basic-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,22 @@
<div class="js-form-submitted-alert alert alert-info">Form submitted!</div>
{{/if}}
{{#lf-form rules=rules onSubmit=(action "submit") as |validateFunction formValid|}}
{{#lf-input
{{lf-input
label="Name"
property=model.name
name="name"
validate=validateFunction
class="js-name"
on-update=(action (mut model.name))
addonPlacement='after'
}}
<span class="input-group-addon" id="basic-addon1">@</span>
{{/lf-input}}
{{#lf-input
label="Name"
{{lf-input
label="Email"
property=model.name
name="name"
name="email"
validate=validateFunction
class="js-name"
class="js-email"
on-update=(action (mut model.name))
}}
<span class="input-group-addon" id="basic-addon1">-</span>
{{/lf-input}}
{{lf-input
label="Your interests"
property=model.interests
Expand Down

0 comments on commit d8e8dc4

Please sign in to comment.