Fix not being able to edit ammo group when fully used up

This commit is contained in:
2022-04-19 19:38:03 -04:00
parent d27b54386d
commit 3297130890
3 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@
<%= label(f, :count, gettext("Count"), class: "title text-lg text-primary-600") %>
<%= number_input(f, :count,
class: "text-center col-span-2 input input-primary",
min: 1
min: 0
) %>
<%= error_tag(f, :count, "col-span-3 text-center") %>