v0.5.133: type=submit на кнопке удаления

This commit is contained in:
2026-06-15 17:17:43 +04:00
parent c5cd577561
commit f0743c6bfe
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -235,7 +235,7 @@
<button class="btn btn-sm" title="Сохранить">✓</button>
</form>
<form method="POST" action="/v2/app/delete/<%= e.id %>" style="display:inline;">
<button class="btn btn-sm btn-danger" onclick="return confirm('Удалить?')" title="Удалить">🗑️</button>
<button type="submit" class="btn btn-sm btn-danger" onclick="return confirm('Удалить?')" title="Удалить">🗑️</button>
</form>
<% } %>
</td>