Commit 5e7ad767 by Kálmán Viktor

dashboard: change system form to TextInput

parent 7649c33b
......@@ -445,6 +445,7 @@ class NodeForm(forms.ModelForm):
class TemplateForm(forms.ModelForm):
networks = forms.ModelMultipleChoiceField(
queryset=VLANS, required=False)
system = forms.CharField(widget=forms.TextInput)
def __init__(self, *args, **kwargs):
parent = kwargs.pop("parent", None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment