mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Make the add manager field more clear in the organisation form
Make it clear that one should enter the email address, not username, to add a manager, and that it should be an existing account.
This commit is contained in:
@ -15,7 +15,7 @@ class OrganisationForm(forms.ModelForm):
|
||||
remove_email = forms.ModelMultipleChoiceField(required=False, queryset=None, label="Current email addresses", help_text="Select one or more email addresses to remove")
|
||||
add_email = forms.EmailField(required=False, help_text="Enter an email address to add")
|
||||
remove_manager = forms.ModelMultipleChoiceField(required=False, queryset=None, label="Current manager(s)", help_text="Select one or more managers to remove")
|
||||
add_manager = forms.EmailField(required=False)
|
||||
add_manager = forms.EmailField(required=False, help_text="Enter an email address of an existing account to add as manager")
|
||||
|
||||
class Meta:
|
||||
model = Organisation
|
||||
|
Reference in New Issue
Block a user