Skip to content
Snippets Groups Projects
Commit 3e65dee2 authored by dastier's avatar dastier Committed by Dave Syer
Browse files

fix button text in createOrUpdatePetForm.html in case of new pet (issue #252)

parent 4ab6a800
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment