mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
fix validation error message of network.
This commit is contained in:
parent
65733197fa
commit
5b60dd7f84
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class NewVMForm(forms.Form):
|
||||||
host_model = forms.BooleanField(required=False)
|
host_model = forms.BooleanField(required=False)
|
||||||
disk = forms.IntegerField(required=False)
|
disk = forms.IntegerField(required=False)
|
||||||
memory = forms.IntegerField(error_messages={'required': _('No RAM size has been entered')})
|
memory = forms.IntegerField(error_messages={'required': _('No RAM size has been entered')})
|
||||||
networks = forms.CharField(error_messages={'required': _('No Network pool has been choice')})
|
networks = forms.CharField(error_messages={'required': _('No Network pool has been choosen')})
|
||||||
nwfilter = forms.CharField(required=False)
|
nwfilter = forms.CharField(required=False)
|
||||||
storage = forms.CharField(max_length=20, required=False)
|
storage = forms.CharField(max_length=20, required=False)
|
||||||
template = forms.CharField(required=False)
|
template = forms.CharField(required=False)
|
||||||
|
|
Loading…
Reference in a new issue