Fix a duplicate attribute in the _method hidden field

This commit is contained in:
jordi fita mas 2023-01-31 13:07:55 +01:00
parent 9aee33511a
commit 4d452c5522
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@
<td>{{ .Rate }}</td>
<td>
<form method="POST" action="{{ companyURI "/tax"}}/{{ .Id }}">
<input type="hidden" name="_method" name="DELETE"/>
<input type="hidden" name="_method" value="DELETE"/>
<button class="icon" aria-label="{{( gettext "Delete tax" )}}" type="submit"><i class="ri-delete-back-2-line"></i></button>
</form>
</td>