Skip to content

Instantly share code, notes, and snippets.

@runtimeZero
Created August 28, 2017 22:09
Show Gist options
  • Save runtimeZero/65e249d8410dc21e9fd0fef020698d6e to your computer and use it in GitHub Desktop.
Save runtimeZero/65e249d8410dc21e9fd0fef020698d6e to your computer and use it in GitHub Desktop.
Signup Form
```
<div class="container">
<div class="row">
<div class="col-lg-4">
<form (ngSubmit)="onSubmit(f)" #f="ngForm">
<div class="form-group">
<label for="email">Email</label>
<input type="email" name="email" id="email" ngModel class="form-control" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" name="password" id="password" ngModel class="form-control" required>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</div>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment