">
            <button
                    th:with="text=${pet['new']} ? 'Add Pet' : 'Update Pet'"
                    class="btn btn-primary" type="submit" th:text="${text}">Add
                Pet</button>
        </div>
    </div>
</form>

</body>

</html>
