2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-08 12:50:55 +00:00

More modal forms

- supplier-part-edit
- supplier-part-delete
This commit is contained in:
Oliver
2018-04-27 21:32:48 +10:00
parent bc3dca3aba
commit e1e3cc71e6
6 changed files with 80 additions and 33 deletions

View File

@@ -80,11 +80,7 @@ class EditSupplierPartForm(forms.ModelForm):
super(EditSupplierPartForm, self).__init__(*args, **kwargs)
self.helper = FormHelper()
self.helper.form_id = 'id-edit-part-form'
self.helper.form_class = 'blueForms'
self.helper.form_method = 'post'
self.helper.add_input(Submit('submit', 'Submit'))
self.helper.form_tag = False
class Meta:
model = SupplierPart