Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

thymeleaf form delete method

<form action="#" th:action="@{'/delete/{id}'(id=${foo.id})}" th:method="delete" >
  <input type="hidden" name="_method" value="delete" />
  <button type="submit" id="submitButton"> </button>
</form>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #thymeleaf #form #delete #method
ADD COMMENT
Topic
Name
5+2 =