Line | |
---|
1 | <div class="wrapper">
|
---|
2 | <mat-card>
|
---|
3 | <mat-card-header><h2>Најава</h2></mat-card-header>
|
---|
4 | <mat-card-content>
|
---|
5 | <form [formGroup]="loginForm" novalidate>
|
---|
6 | <div class="example-container">
|
---|
7 | <mat-form-field>
|
---|
8 | <input matInput placeholder="Email" [(ngModel)]="this.username" formControlName="username">
|
---|
9 | </mat-form-field>
|
---|
10 |
|
---|
11 | <mat-form-field>
|
---|
12 | <input matInput type="password" placeholder="Password" [(ngModel)]="this.password" formControlName="password">
|
---|
13 | </mat-form-field>
|
---|
14 |
|
---|
15 | <button [disabled]="!loginForm.valid" mat-raised-button color="primary" (click)="loginPharmacyHead()" mat-button>Најави се</button>
|
---|
16 |
|
---|
17 | <div class="checkbox mb-3 text-danger" *ngIf="loginError">
|
---|
18 | Login failed. Please try again.
|
---|
19 | </div>
|
---|
20 | </div>
|
---|
21 | </form>
|
---|
22 | </mat-card-content>
|
---|
23 | </mat-card>
|
---|
24 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.