Added ability to edit and delete items and licenses

This commit is contained in:
2022-12-09 13:44:43 -05:00
parent db6bfe8e7a
commit 7a81e2c57e
11 changed files with 206 additions and 4 deletions

View File

@ -2,4 +2,12 @@ class Item < Sequel::Model
one_to_many :item_comments
def type_selected?(option)
if self.type == option
return 'selected'
else
return ''
end
end
end