Repository: bornhack/bornhack-website

Issue:
Mark which text input fields in content submission forms that are public/private
Proxy issue report from Tobias:

We should add a small comment somewhere on each input field in the forms used for submitting events to the festival which notes which fields are shown to the public on the site.

For example: we request an email address in the input, but we never show the email address on the website to anybody else than the content team.

Please forward questions on this to Tobias.


Discussion:

Resolving patch:
diff --git a/src/program/forms.py b/src/program/forms.py
--- a/src/program/forms.py
+++ b/src/program/forms.py
@@ -67,22 +67,24 @@ def __init__(self, camp, event_type=None, matrix=None, *args, **kwargs):
             self.fields["name"].label = "Guest Name"
             self.fields[
                 "name"
-            ].help_text = "The name of a debate guest. Can be a real name or an alias."
+            ].help_text = (
+                "The name of a debate guest. Can be a real name or an alias (public)."
+            )
 
             # fix label and help_text for the email field
             self.fields["email"].label = "Guest Email"
             self.fields[
                 "email"
-            ].help_text = "The email for this guest. Will default to the logged-in users email if left empty."
+            ].help_text = "The email for this guest. Will default to the logged-in users email if left empty (not public)."
 
             # fix label and help_text for the biograpy field
             self.fields["biography"].label = "Guest Biography"
-            self.fields["biography"].help_text = "The biography of the guest."
+            self.fields["biography"].help_text = "The biography of the guest (public)."
 
             # fix label and help_text for the submission_notes field
             self.fields[
                 "submission_notes"
-            ].help_text = "Private notes regarding this guest. Only visible to yourself and the BornHack organisers."
+            ].help_text = "Private notes regarding this guest (not public)."
 
             # no free tickets for debates
             del self.fields["needs_oneday_ticket"]
@@ -92,22 +94,24 @@ def __init__(self, camp, event_type=None, matrix=None, *args, **kwargs):
             self.fields["name"].label = "Speaker Name"
             self.fields[
                 "name"
-            ].help_text = "The name of the speaker. Can be a real name or an alias."
+            ].help_text = (
+                "The name of the speaker. Can be a real name or an alias (public)."
+            )
 
             # fix label and help_text for the email field
             self.fields["email"].label = "Speaker Email"
             self.fields[
                 "email"
-            ].help_text = "The email for this speaker. Will default to the logged-in users email if left empty."
+            ].help_text = "The email for this speaker. Will default to the logged-in users email if left empty. (not public)"
 
             # fix label and help_text for the biograpy field
             self.fields["biography"].label = "Speaker Biography"
-            self.fields["biography"].help_text = "The biography of the speaker."
+            self.fields["biography"].help_text = "The biography of the speaker (public)"
 
             # fix label and help_text for the submission_notes field
             self.fields[
                 "submission_notes"
-            ].help_text = "Private notes regarding this speaker. Only visible to yourself and the BornHack organisers."
+            ].help_text = "Private notes regarding this speaker (not public)."
 
             # no free tickets for lightning talks
             del self.fields["needs_oneday_ticket"]
@@ -117,22 +121,26 @@ def __init__(self, camp, event_type=None, matrix=None, *args, **kwargs):
             self.fields["name"].label = "Artist Name"
             self.fields[
                 "name"
-            ].help_text = "The name of the artist. Can be a real name or artist alias."
+            ].help_text = (
+                "The name of the artist. Can be a real name or artist alias (public)."
+            )
 
             # fix label and help_text for the email field
             self.fields["email"].label = "Artist Email"
             self.fields[
                 "email"
-            ].help_text = "The email for this artist. Will default to the logged-in users email if left empty."
+            ].help_text = "The email for this artist. Will default to the logged-in users email if left empty (not public)."
 
             # fix label and help_text for the biograpy field
             self.fields["biography"].label = "Artist Description"
-            self.fields["biography"].help_text = "The description of the artist."
+            self.fields[
+                "biography"
+            ].help_text = "The description of the artist (public)."
 
             # fix label and help_text for the submission_notes field
             self.fields[
                 "submission_notes"
-            ].help_text = "Private notes regarding this artist. Only visible to yourself and the BornHack organisers."
+            ].help_text = "Private notes regarding this artist (not public)."
 
             # no oneday tickets for music acts
             del self.fields["needs_oneday_ticket"]
@@ -142,46 +150,48 @@ def __init__(self, camp, event_type=None, matrix=None, *args, **kwargs):
             self.fields["name"].label = "Speaker Name"
             self.fields[
                 "name"
-            ].help_text = "The name of the speaker. Can be a real name or an alias."
+            ].help_text = (
+                "The name of the speaker. Can be a real name or an alias (public)."
+            )
 
             # fix label and help_text for the email field
             self.fields["email"].label = "Speaker Email"
             self.fields[
                 "email"
-            ].help_text = "The email for this speaker. Will default to the logged-in users email if left empty."
+            ].help_text = "The email for this speaker. Will default to the logged-in users email if left empty (not public)."
 
             # fix label and help_text for the biograpy field
             self.fields["biography"].label = "Speaker Biography"
-            self.fields["biography"].help_text = "The biography of the speaker."
+            self.fields[
+                "biography"
+            ].help_text = "The biography of the speaker (public)."
 
             # fix label and help_text for the submission_notes field
             self.fields[
                 "submission_notes"
-            ].help_text = "Private notes regarding this speaker. Only visible to yourself and the BornHack organisers."
+            ].help_text = "Private notes regarding this speaker (not public)"
 
         elif event_type.name == "Workshop":
             # fix label and help_text for the name field
             self.fields["name"].label = "Host Name"
             self.fields[
                 "name"
-            ].help_text = (
-                "The name of the workshop host. Can be a real name or an alias."
-            )
+            ].help_text = "The name of the workshop host. Can be a real name or an alias (public)."
 
             # fix label and help_text for the email field
             self.fields["email"].label = "Host Email"
             self.fields[
                 "email"
-            ].help_text = "The email for the host. Will default to the logged-in users email if left empty."
+            ].help_text = "The email for the host. Will default to the logged-in users email if left empty (not public)."
 
             # fix label and help_text for the biograpy field
             self.fields["biography"].label = "Host Biography"
-            self.fields["biography"].help_text = "The biography of the host."
+            self.fields["biography"].help_text = "The biography of the host (public)."
 
             # fix label and help_text for the submission_notes field
             self.fields[
                 "submission_notes"
-            ].help_text = "Private notes regarding this host. Only visible to yourself and the BornHack organisers."
+            ].help_text = "Private notes regarding this host (not public)."
 
             # no free tickets for workshops
             del self.fields["needs_oneday_ticket"]
@@ -189,22 +199,22 @@ def __init__(self, camp, event_type=None, matrix=None, *args, **kwargs):
         elif event_type.name == "Recreational Event":
             # fix label and help_text for the name field
             self.fields["name"].label = "Host Name"
-            self.fields["name"].help_text = "Can be a real name or an alias."
+            self.fields["name"].help_text = "Can be a real name or an alias (public)."
 
             # fix label and help_text for the email field
             self.fields["email"].label = "Host Email"
             self.fields[
                 "email"
-            ].help_text = "The email for the host. Will default to the logged-in users email if left empty."
+            ].help_text = "The email for the host. Will default to the logged-in users email if left empty (not public)."
 
             # fix label and help_text for the biograpy field
             self.fields["biography"].label = "Host Biography"
-            self.fields["biography"].help_text = "The biography of the host."
+            self.fields["biography"].help_text = "The biography of the host (public)."
 
             # fix label and help_text for the submission_notes field
             self.fields[
                 "submission_notes"
-            ].help_text = "Private notes regarding this host. Only visible to yourself and the BornHack organisers."
+            ].help_text = "Private notes regarding this host (not public)."
 
             # no free tickets for recreational events
             del self.fields["needs_oneday_ticket"]
@@ -214,13 +224,15 @@ def __init__(self, camp, event_type=None, matrix=None, *args, **kwargs):
             self.fields["name"].label = "Host Name"
             self.fields[
                 "name"
-            ].help_text = "The name of the meetup host. Can be a real name or an alias."
+            ].help_text = (
+                "The name of the meetup host. Can be a real name or an alias (public)."
+            )
 
             # fix label and help_text for the email field
             self.fields["email"].label = "Host Email"
             self.fields[
                 "email"
-            ].help_text = "The email for the host. Will default to the logged-in users email if left empty."
+            ].help_text = "The email for the host. Will default to the logged-in users email if left empty (not public)."
 
             # fix label and help_text for the biograpy field
             self.fields["biography"].label = "Host Biography"
@@ -229,7 +241,7 @@ def __init__(self, camp, event_type=None, matrix=None, *args, **kwargs):
             # fix label and help_text for the submission_notes field
             self.fields[
                 "submission_notes"
-            ].help_text = "Private notes regarding this host. Only visible to yourself and the BornHack organisers."
+            ].help_text = "Private notes regarding this host (not public)."
 
             # no free tickets for meetups
             del self.fields["needs_oneday_ticket"]


Test patch: