Add note to form when creating new organisations
authorMagnus Hagander <magnus@hagander.net>
Wed, 11 Nov 2020 12:05:36 +0000 (13:05 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 12 Nov 2020 17:53:18 +0000 (18:53 +0100)
In particular, highlight that an organisation is not needed to
participate on lists, send bug reports etc. Caused by the number of
people who apparently get this wrong previously.

pgweb/core/forms.py

index e698cdb269586eadeb78670e0b6c04e558c5eaf2..d73f3151fbe51045a2b876bd6be5c12bc096c42e 100644 (file)
@@ -12,6 +12,11 @@ from pgweb.util.misc import send_template_mail, generate_random_token
 
 
 class OrganisationForm(forms.ModelForm):
+    new_form_intro = """<em>Note!</em> An organisation record is only needed to post news, events,
+products or professional services. In particular, it is <em>not</em> necessary to register an
+organisation in order to ask questions or otherwise participate on the PostgreSQL mailing lists, file a bug
+report, or otherwise interact with the community."""
+
     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")