Guest User

Untitled

a guest
Aug 14th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <form [formGroup]="addFriendForm" (ngSubmit)="send()">
  2. <div>
  3. <label>Name</label>
  4. <input type="text" formControlName="name">
  5. </div>
  6. <div>
  7. <label>Email</label>
  8. <input type="text" formControlName="email">
  9. </div>
  10.  
  11. <div>
  12. <button type="submit" [disabled]="!addFriendForm.valid">Submit</button>
  13. </div>
  14. </form>
Add Comment
Please, Sign In to add comment