Skip to content

Commit

Permalink
Merge pull request #458 from elixir-luxembourg/update-help-text-on-da…
Browse files Browse the repository at this point in the history
…taset-wizard-forms

edit heading help on dataset create wizard forms
  • Loading branch information
moustaphacheikh committed Sep 8, 2023
2 parents 3caea8c + bca8472 commit 743bad4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions core/forms/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class Meta:
# Textareas
"access_notes": Textarea(attrs={"rows": 2, "cols": 40}),
}
heading = "Access"
heading_help = "Specify who can access the data, the duration, and any relevant notes. Ensure accuracy for data security."
heading = "Record Access"
heading_help = "Specify who can access the data and for how long. You can define access of each person or describe group of users with access in remarks below."

def __init__(self, *args, **kwargs):
dataset = kwargs.pop("dataset", None)
Expand Down
4 changes: 2 additions & 2 deletions core/forms/data_declaration.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ class DataDeclarationForm(SkipFieldValidationMixin, forms.ModelForm):
class Meta:
model = DataDeclaration
fields = ["title"]
heading = "Data declaration"
heading_help = "Detail your data's origin for clarity. Knowing its provenance enhances its value and trust."
heading = "Add new Data Declaration"
heading_help = "Dataset can have one or many subsets, called data declarations. These can capture data from a particular partner, cohort or data of a particular type. Define first declaration below. More declarations can be added later."

def __init__(self, *args, **kwargs):
self.dataset = kwargs.pop("dataset")
Expand Down
4 changes: 2 additions & 2 deletions core/forms/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class Meta:
widgets = {
"comments": forms.Textarea(attrs={"rows": 2, "cols": 40}),
}
heading = "Dataset"
heading_help = "Complete the form to enhance dataset quality. Your careful input benefits our community!"
heading = "Add new Dataset"
heading_help = "Provide basic information for the new dataset."

def __init__(self, *args, **kwargs):
dataset = None
Expand Down
4 changes: 2 additions & 2 deletions core/forms/legal_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class Meta:
model = LegalBasis
fields = "__all__"
exclude = []
heading = "Data Legal Basis"
heading_help = "Define the legal grounds for processing. Ensure your data complies with relevant regulations."
heading = "Add Legal Basis"
heading_help = "Capture the legal grounds for processing of this dataset under GDPR (personal data only). This can require support from your data stewards and data protection officer (DPO)."

def __init__(self, *args, **kwargs):
dataset = kwargs.pop("dataset", None)
Expand Down
4 changes: 2 additions & 2 deletions core/forms/storage_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class Meta:
model = DataLocation
fields = "__all__"
exclude = []
heading = "Add a new storage location"
heading_help = "Specify your data's home. Clear storage details ensure easy retrieval and management."
heading = "Add Storage Location"
heading_help = "Storage details ensure easy data retrieval and management. Record main location of the dataset. More storage locations can be added later."

def __init__(self, *args, **kwargs):
dataset = kwargs.pop("dataset", None)
Expand Down

0 comments on commit 743bad4

Please sign in to comment.