Last change
on this file since 6a80231 was 6a80231, checked in by Ema <ema_spirova@…>, 3 years ago |
create initial planner and routing with angular
|
-
Property mode
set to
100644
|
File size:
752 bytes
|
Line | |
---|
1 | <form (ngSubmit)="onFormSubmitPlanner(f)" #f="ngForm">
|
---|
2 | <h1 mat-dialog-title>Hi </h1>
|
---|
3 | <div mat-dialog-content>
|
---|
4 | <p>Planner name</p>
|
---|
5 | <mat-form-field appearance="fill">
|
---|
6 | <input matInput required type="text" [(ngModel)]="plannerDto.name" name="name" placeholder="Planner name">
|
---|
7 | </mat-form-field>
|
---|
8 | <p>Planner description</p>
|
---|
9 | <mat-form-field appearance="fill">
|
---|
10 | <textarea matInput required name="description" [(ngModel)]="plannerDto.description" type="text" placeholder="Planner description"></textarea>
|
---|
11 | </mat-form-field>
|
---|
12 | </div>
|
---|
13 | <div mat-dialog-actions>
|
---|
14 |
|
---|
15 | <button mat-button type="submit" [disabled]="!f.form.valid" >Save</button>
|
---|
16 | </div>
|
---|
17 | </form>
|
---|
18 |
|
---|
19 | <button mat-button (click)="onCancelClick()">Cancel</button> |
---|
Note:
See
TracBrowser
for help on using the repository browser.