remove description
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Was confused with the comment field,
only used for 14 items, which I
manually merged without problems.
This commit is contained in:
2025-01-22 21:01:59 +02:00
parent 04a7e18e55
commit d21bcd9d82
4 changed files with 0 additions and 15 deletions

View File

@@ -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)