sources/saml: move labels from forms to models

This commit is contained in:
Jens Langhammer
2020-02-16 12:34:46 +01:00
parent 721d133dc3
commit e138076e1d
2 changed files with 6 additions and 9 deletions

View File

@ -28,11 +28,6 @@ class SAMLSourceForm(forms.ModelForm):
"auto_logout",
"signing_cert",
]
labels = {
"entity_id": "Entity ID",
"idp_url": "IDP URL",
"idp_logout_url": "IDP Logout URL",
}
widgets = {
"name": forms.TextInput(),
"policies": FilteredSelectMultiple(_("policies"), False),