aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/forms.py')
-rw-r--r--ctrack/caf/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctrack/caf/forms.py b/ctrack/caf/forms.py
index 1d07249..776e9af 100644
--- a/ctrack/caf/forms.py
+++ b/ctrack/caf/forms.py
@@ -20,6 +20,12 @@ CAFCreateInlineFormset = inlineformset_factory(
CAF, ApplicableSystem, fields=("name", "organisation"), extra=2)
+class ApplicableSystemCreateFromOrgForm(forms.ModelForm):
+ class Meta:
+ model = ApplicableSystem
+ fields = ["name", "description", "caf"]
+
+
class ApplicableSystemCreateForm(forms.ModelForm):
def __init__(self, *args, **kwargs):