Permalink
Browse files

Step 5.8: Implement form directives

  • Loading branch information...
1 parent 54f3322 commit 9bd7b7ef5db3030796d2212d521f76f9d910b8f9 @kamilkisiela kamilkisiela committed with DAB0mB Sep 21, 2016
Showing with 5 additions and 5 deletions.
  1. +5 −5 client/imports/app/parties/parties-form.component.html
@@ -1,12 +1,12 @@
-<form>
+<form [formGroup]="addForm">
<label>Name</label>
- <input type="text">
+ <input type="text" formControlName="name">
<label>Description</label>
- <input type="text">
+ <input type="text" formControlName="description">
<label>Location</label>
- <input type="text">
+ <input type="text" formControlName="location">
- <button>Add</button>
+ <button type="submit">Add</button>
</form>

0 comments on commit 9bd7b7e

Please sign in to comment.