fix missing/wrong widget inputs
This commit is contained in:
		| @ -27,7 +27,8 @@ class PasswordFactorForm(forms.ModelForm): | |||||||
|             'order': forms.NumberInput(), |             'order': forms.NumberInput(), | ||||||
|             'policies': FilteredSelectMultiple(_('policies'), False), |             'policies': FilteredSelectMultiple(_('policies'), False), | ||||||
|             'backends': FilteredSelectMultiple(_('backends'), False, |             'backends': FilteredSelectMultiple(_('backends'), False, | ||||||
|                                                choices=get_authentication_backends()) |                                                choices=get_authentication_backends()), | ||||||
|  |             'password_policies': FilteredSelectMultiple(_('password policies'), False), | ||||||
|         } |         } | ||||||
|  |  | ||||||
| class DummyFactorForm(forms.ModelForm): | class DummyFactorForm(forms.ModelForm): | ||||||
|  | |||||||
| @ -63,6 +63,7 @@ class GroupMembershipPolicyForm(forms.ModelForm): | |||||||
|         fields = GENERAL_FIELDS + ['group', ] |         fields = GENERAL_FIELDS + ['group', ] | ||||||
|         widgets = { |         widgets = { | ||||||
|             'name': forms.TextInput(), |             'name': forms.TextInput(), | ||||||
|  |             'order': forms.NumberInput(), | ||||||
|         } |         } | ||||||
|  |  | ||||||
| class PasswordPolicyForm(forms.ModelForm): | class PasswordPolicyForm(forms.ModelForm): | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer