"...src/app/component/horse/horse.component.html" did not exist on "dda711f33e8aae852ba7e270b44903a4b0e858c5"
horse.component.html 651 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<div *ngIf="error" class="alert alert-danger alert-dismissible fade show" role="alert">
  <strong>Error! </strong> {{ errorMessage }}
  <button type="button" (click)="vanishError()" class="close" data-dismiss="alert" aria-label="Close">
    <span aria-hidden="true">&times;</span>
  </button>
</div>

<div class="container mt-3" *ngIf="horse">
  <div class="alert alert-success" role="alert">
    <h4 class="alert-heading">Well done!</h4>
    <p>Your application is up and running</p>
    <hr>
    <p>This is the name of the horse with id 1 from your backend system:
      <span class="font-weight-bold">{{horse.name}}</span>
    </p>
  </div>
</div>