From 43f8aa288c3156fdfabe5c2b5f43d05526fcdb3c Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Wed, 21 Feb 2024 16:02:32 -0800 Subject: [PATCH] Fix language on gsr_restricted form field --- primed/cdsa/forms.py | 5 +++-- primed/dbgap/forms.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/primed/cdsa/forms.py b/primed/cdsa/forms.py index c57c2a9e..cfa854d2 100644 --- a/primed/cdsa/forms.py +++ b/primed/cdsa/forms.py @@ -100,9 +100,10 @@ class CDSAWorkspaceForm(Bootstrap5MediaFormMixin, forms.ModelForm): gsr_restricted = forms.TypedChoiceField( coerce=lambda x: x == "True", - choices=((True, "Primary"), (False, "Component")), + choices=((True, "Restricted"), (False, "Unrestricted")), widget=forms.RadioSelect, - label="Sensitive data?", + label="GSR restricted?", + help_text="Indicator of whether public posting of GSRs is restricted.", ) class Meta: diff --git a/primed/dbgap/forms.py b/primed/dbgap/forms.py index d0eec4db..8f690d66 100644 --- a/primed/dbgap/forms.py +++ b/primed/dbgap/forms.py @@ -32,9 +32,10 @@ class dbGaPWorkspaceForm(Bootstrap5MediaFormMixin, forms.ModelForm): gsr_restricted = forms.TypedChoiceField( coerce=lambda x: x == "True", - choices=((True, "Primary"), (False, "Component")), + choices=((True, "Restricted"), (False, "Unrestricted")), widget=forms.RadioSelect, - label="Sensitive data?", + label="GSR restricted?", + help_text="Indicator of whether public posting of GSRs is restricted.", ) class Meta: