mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Deleted extraneous form code
This commit is contained in:
@ -1,19 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django import forms
|
||||
from crispy_forms.helper import FormHelper
|
||||
from InvenTree.forms import HelperForm
|
||||
|
||||
from .models import Build
|
||||
|
||||
|
||||
class EditBuildForm(forms.ModelForm):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(EditBuildForm, self).__init__(*args, **kwargs)
|
||||
self.helper = FormHelper()
|
||||
|
||||
self.helper.form_tag = False
|
||||
class EditBuildForm(HelperForm):
|
||||
|
||||
class Meta:
|
||||
model = Build
|
||||
|
Reference in New Issue
Block a user