mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-28 22:29:37 +00:00
fix button text in createOrUpdatePetForm.html in case of new pet (issue #252)
This commit is contained in:
parent
4ab6a800c8
commit
3e65dee237
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue