source: trip-planner-front/src/app/planner/edit-planner/edit-planner.component.html@ 6c1585f

Last change on this file since 6c1585f was 6c1585f, checked in by Ema <ema_spirova@…>, 3 years ago

edit planner form with angular

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
2
3<h3>Here you can edit your planner</h3>
4
5<form [formGroup] = "form" (ngSubmit)="onSubmit()">
6 <div class="form-gorup">
7 <p>Planner name</p>
8 <mat-form-field appearance="fill">
9 <input matInput required type="text" formControlName="name" placeholder="Planner name">
10 </mat-form-field>
11 <p>Planner description</p>
12 <mat-form-field appearance="fill">
13 <textarea matInput required formControlName="description" type="text" placeholder="Planner description"></textarea>
14 </mat-form-field>
15 </div>
16 <div class="container mb-4" >
17 <div class="row">
18 <div class="col-12">
19 <div class="table-responsive">
20 <table class="table table-striped">
21 <thead>
22 <tr>
23 <th scope="col">Location name</th>
24 </tr>
25 </thead>
26 <tbody>
27 <tr>
28 <td> <button mat-raised-button color="primary" (click)="onClickAddLocation()">
29 Add locations
30 </button>
31 </td>
32 </tr>
33 </tbody>
34 </table>
35 </div>
36 </div>
37 </div>
38 </div>
39 <button mat-raised-button color="primary" >
40 <mat-icon>edit</mat-icon> Save
41 </button>
42</form>
43
44
Note: See TracBrowser for help on using the repository browser.