Skip to content

Commit

Permalink
Merge pull request #15 from UdL-EPS-SoftArch/route_crud
Browse files Browse the repository at this point in the history
Correct edit,delete and search on list of routes
  • Loading branch information
rogargon authored Nov 23, 2023
2 parents f919208 + c6b4a4a commit d6ef282
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/routes/routes-edit/route-edit.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
<input id="createdBy" name="createdBy" type="text" class="form-control" readonly [ngModel]="route.createdBy?.username">
</div>

<!-- Type input -->
<div class="form-group mb-3">
<label class="control-label" for="type">Type</label>
<input id="type" name="type" type="text" class="form-control" readonly
[(ngModel)]="route.type" #type="ngModel">
<div class="invalid-feedback">A type is required</div>
</div>

<!-- Title input -->
<div class="form-group mb-3" [class.was-validated]="title.dirty || title.touched">
<label class="control-label" for="title">Title</label>
Expand Down

0 comments on commit d6ef282

Please sign in to comment.