Virajsinh

Angular_Form_HTML

Feb 28th, 2020
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.11 KB | None | 0 0
  1. <div class="container">
  2.     <div class="row">
  3.         <div class="col-md-12">
  4.             <form name="form" #f="ngForm" (ngSubmit)="signup()">
  5.                 <div class="form-group">
  6.                     <label for="email">Email address</label>
  7.                     <input type="email" class="form-control" id="email" [(ngModel)]="email" name="email" aria-describedby="emailHelp" placeholder="Enter email">
  8.                     <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
  9.                 </div>
  10.                 <div class="form-group">
  11.                     <label for="password">Email password</label>
  12.                     <input type="password" class="form-control" id="password" [(ngModel)]="password" name="password" aria-describedby="emailHelp" placeholder="Enter password">
  13.                     <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
  14.                 </div>
  15.                 <button type="submit" class="btn btn-primary">Submit</button>
  16.             </form>
  17.         </div>
  18.     </div>
  19. </div>
Add Comment
Please, Sign In to add comment