Skip to content

Commit 3ed74db

Browse files
authored
PPHA-589: Add hint text to tobacco types (#360)
# What is the change? Add hint text to tobacco types # Why are we making this change? To ensure clarity of each type of tobacco <img width="1007" height="687" alt="Screenshot 2026-03-12 at 15 31 38" src="https://github.com/user-attachments/assets/c61aa389-6c25-4983-9594-bb537fdc7b61" />
2 parents 47b36ce + 2def904 commit 3ed74db

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

lung_cancer_screening/questions/forms/types_tobacco_smoking_form.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ def __init__(self, *args, response_set, **kwargs):
2929
self.fields["value"].initial = self.existing_types
3030

3131
value_field=self['value']
32+
value_field.add_hint_for_choice(
33+
TobaccoSmokingHistoryTypes.ROLLING_TOBACCO,
34+
"or roll-ups",
35+
)
36+
value_field.add_hint_for_choice(
37+
TobaccoSmokingHistoryTypes.SMALL_CIGARS,
38+
"Petit Corona or Short Panetela, usually 4 to 5 inches long",
39+
)
40+
value_field.add_hint_for_choice(
41+
TobaccoSmokingHistoryTypes.MEDIUM_CIGARS,
42+
"Robusto or Corona, usually 5 to 6 inches long",
43+
)
44+
value_field.add_hint_for_choice(
45+
TobaccoSmokingHistoryTypes.LARGE_CIGARS,
46+
"Churchill or Double Corona, usually 7 to 8 inches long",
47+
)
3248
value_field.add_hint_for_choice(
3349
TobaccoSmokingHistoryTypes.CIGARILLOS,
3450
"Cafe Creme or Signature cigars, roughly the size of a cigarette"

0 commit comments

Comments
 (0)