Was confused with the comment field, only used for 14 items, which I manually merged without problems.
This commit is contained in:
@@ -149,8 +149,6 @@ class InventoryItemForm(CustomForm):
|
||||
inventory = FormField(InventoryForm)
|
||||
hardware = FormField(HardwareForm)
|
||||
shortener = FormField(ShortenerForm)
|
||||
_description_placeholder = "Insert Markdown here."
|
||||
description = TextAreaField('Description', [validators.optional(), validators.length(max=3000)], render_kw={"placeholder": _description_placeholder})
|
||||
location = StringField('Location')
|
||||
def setup_defaults_add(self):
|
||||
setup_default_owner(self.inventory.form.owner.form.username)
|
||||
|
Reference in New Issue
Block a user