Skip to content

Commit

Permalink
fix profile
Browse files Browse the repository at this point in the history
  • Loading branch information
gedankenstuecke committed Jun 10, 2024
1 parent b894d1d commit 12b1a45
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
19 changes: 10 additions & 9 deletions server/apps/users/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UserProfileForm(forms.Form):
"aria-describedby": "help_id_autistic_identification"}
),
label="Do you identify as autistic?",
help_text="AutSPACEs is focused on collecting and sharing the voices and lived experiences of autistic people, which is why we <strong>require a conscious decision for this question</strong>. If you select <i>prefer not to say</i> your experiences will be considered as coming from a non-autistic person, labeled as such and e.g. not used for research.",
help_text="AutSPACEs is focused on collecting and sharing the voices and lived experiences of autistic people, which is why we <strong>require a conscious decision for this question</strong>. If you select <i>prefer not to say</i>, your experiences will be considered as coming from a non-autistic person, labelled as such and can’t be used for research.",
required=True,
initial="")
autistic_identification.group = 1
Expand All @@ -39,7 +39,7 @@ class UserProfileForm(forms.Form):
),
required=False,
label="What is your age group?",
help_text="Sharing your age might help researchers understand potential trends across age groups. It can also help readers to better understand your perspective if this data is made public.",
help_text="Sharing your age might help researchers understand potential trends across age groups. It can also help readers understand your perspective if this data is made public.",
initial="unspecified")
age_bracket.group = 1

Expand All @@ -62,7 +62,7 @@ class UserProfileForm(forms.Form):
),
required=False,
label="What gender do you identify with?",
help_text="Sharing your gender identity might help researchers understand potential trends across different demographics. It can also help readers to better understand your perspective if this data is made public. You can also choose to self-identify instead of using one of the pre-given options.",
help_text="Sharing your gender identity might help researchers understand potential trends across different demographics. It can also help readers understand your perspective if this data is made public. You can also choose to self-identify instead of using one of the pre-given options.",
initial="unspecified")
gender.group = 1

Expand All @@ -81,13 +81,14 @@ class UserProfileForm(forms.Form):
gender_public.group = 1
gender_public.gap = True

description = forms.CharField(label="What else would you like researchers (or readers) to know about yourself?",
description = forms.CharField(label="What else would you like researchers (or readers) to know about you?",
max_length=2048, strip=True, required=False,
help_text="""You can provide any additional context about yourself here that you deem
relevant to understanding your perspective and experiences. This could be your ethnicity,
where you grew up, your educational background, or when and how you (self-)diagnosed.
The AutSPACEs team might use this information to refine the structured demographic questions above.
You can also make this information publicly accessible &mdash; which might be linked to your public experiences in the future.""",
help_text="""
You can provide any additional context here that you deem relevant to understanding your perspective and experiences.
This could be your ethnicity, where you grew up, your educational background, or when and how you (self-)diagnosed.
The AutSPACEs team might use this information to refine the structured demographic questions above.
You can also make this information publicly accessible, and it might be linked to your public experiences in the future.
""",
widget=forms.Textarea(attrs={"placeholder":"Optionally share more about yourself",
"rows":"4",
"class":"form-control",
Expand Down
6 changes: 3 additions & 3 deletions server/apps/users/templates/users/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
{% define "col-lg-12" as columns %}
{% if group.grouper == 1 %}
{% define "Your profile" as header %}
{% define "You can chose <em>'Prefer not to say'</em> for all options and answers are not public by default." as subheader %}
{% define "You can choose <em>'Prefer not to say'</em> for all options, and answers are not public by default." as subheader %}
{% endif %}
{% if group.grouper == 2 %}
{% define "Sensitive topics" as header %}
{% define "Select which sensitive topics should be visible as your default" as subheader %}
{% define "Select which sensitive topics should be visible as your default." as subheader %}
{% define "col-lg-6" as columns %}
{% endif %}
{% if group.grouper == 3 %}
Expand All @@ -67,7 +67,7 @@ <h5>{{ subheader }}</h5>
{% if group.grouper == 2 %}
<p>
<small id="help_{{field.auto_id}}" class="form-text form-text-color">
You can modify these defaults at any time. You can also override the defaults from the <i>View Stories</i> page.
You can modify these defaults at any time. You can also override the defaults from the <i>View stories</i> page.
</small>
</p>
{% endif %}
Expand Down

0 comments on commit 12b1a45

Please sign in to comment.