mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
add edit pet link
This commit is contained in:
parent
8d1efb240b
commit
3c4d95edcf
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@
|
||||||
<h2>Pets and Visits</h2>
|
<h2>Pets and Visits</h2>
|
||||||
|
|
||||||
<div ng-repeat="pet in $ctrl.owner.pets">
|
<div ng-repeat="pet in $ctrl.owner.pets">
|
||||||
<h3>{{pet.name}}</h3>
|
<h3>
|
||||||
|
<a href="#!/owners/{{$ctrl.owner.id}}/pets/{{pet.id}}">{{pet.name}}</a>
|
||||||
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
{{pet.birthDate | date:'yyyy MMM dd'}} - {{pet.type.name}} -
|
{{pet.birthDate | date:'yyyy MMM dd'}} - {{pet.type.name}} -
|
||||||
<a href="#!/owners/{{$ctrl.owner.id}}/pets/{{pet.id}}/visits">Add Visit</a>
|
<a href="#!/owners/{{$ctrl.owner.id}}/pets/{{pet.id}}/visits">Add Visit</a>
|
||||||
|
|
Loading…
Reference in a new issue