SHARE
TWEET
Untitled
a guest
Oct 10th, 2016
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- <div [hidden]="submitted">
- <h1>Login Form</h1>
- <form *ngIf="!active" (ngSubmit)="onSubmit()" #loginForm="ngForm">
- <div class="form-group">
- <label for="username">Login</label>
- <input type="text" class="form-control" id="username" name="username"
- placeholder="Login" required
- [(ngModel)]="credentials.username">
- </div>
- <div class="form-group">
- <label>Password</label>
- <input type="password" class="form-control" id="password" name="password"
- placeholder="Password"
- [(ngModel)]="credentials.password">
- </div>
- <button type="submit" class="btn btn-default" [disabled]="!loginForm.form.valid">Submit</button>
- </form>
- </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
