diff --git a/src/main/resources/templates/pets/createOrUpdatePetForm.html b/src/main/resources/templates/pets/createOrUpdatePetForm.html index bfa07d1ffb6901c818758a492879d84ea736fe84..e4726e15585d3f0e6b7f8521a89901a74753981a 100644 --- a/src/main/resources/templates/pets/createOrUpdatePetForm.html +++ b/src/main/resources/templates/pets/createOrUpdatePetForm.html @@ -26,7 +26,7 @@ <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <button - th:with="text=${owner['new']} ? 'Add Pet' : 'Update Pet'" + th:with="text=${pet['new']} ? 'Add Pet' : 'Update Pet'" class="btn btn-default" type="submit" th:text="${text}">Add Pet</button> </div>