Single select form without action buttons

This commit is contained in:
2026-01-15 19:00:25 +01:00
parent 207699584b
commit 1acb179851
7 changed files with 22 additions and 52 deletions

View File

@@ -100,6 +100,11 @@ class Quantity < ApplicationRecord
name
end
def to_s_with_depth
# em space, U+2003
'' * depth + name
end
def destroyable?
subquantities.empty?
end